📜  来自路径的 vba 文件 - VBA 代码示例

📅  最后修改于: 2022-03-11 14:51:55.615000             🧑  作者: Mango

代码示例1
Dim path As String
path = "C:\Temp\data\myfile.txt"
Debug.Print Mid$(path, InStrRev(path, "\") + 1)    ' -> myfile.txt