What file name did user enter in dialog box?
I have this coding:
strSaveToPath = Application.GetSaveAsFilename("C:\A.txt", fileFilter:="Text Files (*.txt), *.txt")
This brings up a dialog box with C:\A.txt as default file in the File Name box.
Later I use this code to run a slideshow:
Shell "D:/Program Files\Irfanview\i_view32.exe /slideshow=C:\a.txt", vbNormalFocus
All is well if user accepted C:\a.txt default. But how can i tell what file user selected if other than default so I can change it in the shell code?