Vba File From Path

[Solved] Vba File From Path | Vb - Code Explorer | yomemimo.com
Question : vba file from path

Answered by : vastemonde

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

Source : | Last Update : Sat, 20 Feb 21

Answers related to vba file from path

Code Explorer Popular Question For Vb