ciao, potresti fare una cosa del genere:
codice:
tuaPath="c:\tmp\test\file.txt"
nomeFile=Mid$(tuaPath, InStrRev(tuaPath, "\") + 1)