Answers for "how to get file name in excel with vba"

VBA
2

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