edwardfraser
Board Regular
- Joined
- Feb 28, 2013
- Messages
- 65
Hi there is there a simple script I can use to open a work book?
This is crucial for me in the development of my macro
I am trying to build on my script so can use it to open workbooks even on a network envirmoment.
The current script I have is as follows:
Dim Myfile As String
Myfile = Application.GetOpenFilename()
Workbooks.open (Myfilename)
I dont think goes far enough.
I want to also have a error function built in for if the target file is open already or cant be found it the target location.
Thanks heaps
This is crucial for me in the development of my macro
I am trying to build on my script so can use it to open workbooks even on a network envirmoment.
The current script I have is as follows:
Dim Myfile As String
Myfile = Application.GetOpenFilename()
Workbooks.open (Myfilename)
I dont think goes far enough.
I want to also have a error function built in for if the target file is open already or cant be found it the target location.
Thanks heaps