Hello Forum,
I have code below, which opens a file using the input boxMy issue is I dont want it open the input box directly save a path name to the variable "MyFile"![]()
Please Login or Register to view this content.
Hello Forum,
I have code below, which opens a file using the input boxMy issue is I dont want it open the input box directly save a path name to the variable "MyFile"![]()
Please Login or Register to view this content.
If I understand you correctly, you simply want to hard code the name of the file into MyFile rather than use an input box? If this is the case, you can remove the line involving the Application.GetOpenFilename and replace it with:
Obviously, replace with the full path of the file you want to acces.![]()
Please Login or Register to view this content.
Does this help?
Thanks a lot that helped![]()
Happy to help
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks