Answers for "vba file from path"

VBA
1

vba file from path

Dim path As String
path = "C:\Temp\data\myfile.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