Hello,
I created a macro to open a file. The macro is attached to a command button . The code is below.
The macro works fine when opening the file, but , if you already have the file already opened , you get an error and the macro is debugged . What I want to do is to avoid this error when the user already has the file open and just receives a message that says this.
Thank you in advance!
Code :
![]()
Please Login or Register to view this content.
Bookmarks