📄 mduglobal.bas
字号:
Attribute VB_Name = "mduGlobal"
Option Explicit
Public Function GetAppPath() As String
If Right(App.Path, 1) = "\" Then
GetAppPath = App.Path
Else
GetAppPath = App.Path & "\"
End If
End Function
'获取打印编号
Public Function GetPrintID() As Long
End Function
'格式化打印编号
Public Function FormatPrintNo(ByVal pID As Long) As String
Const sNo = "No 0000000"
Dim s As String
s = Format(pID)
FormatPrintNo = Left(sNo, Len(sNo) - Len(s)) & s
End Function
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -