Hi guys and gals,
I am sure this will be super-easy to answer, but I am blanked out a bit.
At a certain point in my VBA code, I'm prompting the user to open a file, which I need to refer to in the rest of the macro.
How can I see if the user actually opened a file and if so, how do I get the filename that's just opened?
I use the following line to show the file open popup.
Thanks in advance for all help :)
I am sure this will be super-easy to answer, but I am blanked out a bit.
At a certain point in my VBA code, I'm prompting the user to open a file, which I need to refer to in the rest of the macro.
How can I see if the user actually opened a file and if so, how do I get the filename that's just opened?
I use the following line to show the file open popup.
Code:
Application.Dialogs(xlDialogOpen).Show