Answers for "excel vba get file name"

VBA
1

excel vba extract file name

Dim path As String
path = "C:Tempdatamyfile.txt"
Debug.Print Mid$(path, InStrRev(path, "") + 1)    ' -> myfile.txt
Posted by: Guest on February-13-2021

Code answers related to "VBA"

Browse Popular Code Answers by Language