I'm trying to open an Excel file via a macro. However, I want the user to be able to select the file rather than hardcoding the file as in the command:
Code:
Workbooks.Open Filename:= "C:Sample.csv"
Should be easy right? But I can't find it in the VBA help.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.