📄 dochex.bas
字号:
Attribute VB_Name = "DocHex"
Public Function Doc_Hex(doc_num As Integer) As String
Dim hex_word As String
Dim hex_len As Byte
hex_word = Hex(doc_num)
hex_len = Len(hex_word)
Select Case hex_len
Case 1: Doc_Hex = "0" + hex_word
Case 2: Doc_Hex = hex_word
Case 3: Doc_Hex = "0" + hex_word
Case 4: Doc_Hex = hex_word
End Select
End Function
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -