J
John Brenner
I have code that opens the file and activates it:
Workbooks.Open(FileDir & FilesInPath).Activate
But I want to combine this with arguments that will open the file as read
only:
Workbooks.Open(FileDir & FilesInPath).Activate , ReadOnly:=True, _
Password:="Metrics"
This line gives me an error "invalid number of arguments".
Is it possible to open as active as read-only?
Thanks -
Workbooks.Open(FileDir & FilesInPath).Activate
But I want to combine this with arguments that will open the file as read
only:
Workbooks.Open(FileDir & FilesInPath).Activate , ReadOnly:=True, _
Password:="Metrics"
This line gives me an error "invalid number of arguments".
Is it possible to open as active as read-only?
Thanks -