📄 attach.bas
字号:
Attribute VB_Name = "basAttach"
Option Explicit
Public Function GetFileName(ByVal strFullPath As String) As String
Dim I As Integer, strTemp As String
If Len(strFullPath) Then
For I = Len(strFullPath) To 1 Step -1
If Mid(strFullPath, I) = "\" Then strTemp = Right(strFullPath, Len(strFullPath) - I)
Next
If strTemp = "" Then strTemp = strFullPath
End If
GetFileName = strTemp
End Function
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -