I have created two separate spreadsheets that serve two different purposes; however, I sometimes need to view information on one of them after looking at the other. Both files are worksheet protected.
I recorded the following macro to access the one from the other:
Workbooks.Open Filename:="DRIVE:\Path To File\Filename.xls"
Windows("Filename.xls").Activate
The problem I have with this is it assumes the file is not already open.
What do I add to the macro to counter the screen-pop I receive when the called file is already open?
I recorded the following macro to access the one from the other:
Workbooks.Open Filename:="DRIVE:\Path To File\Filename.xls"
Windows("Filename.xls").Activate
The problem I have with this is it assumes the file is not already open.
What do I add to the macro to counter the screen-pop I receive when the called file is already open?

Help
Welcome to BleepingComputer, a free community where people like yourself come together to discuss and learn how to use their computers. Using the site is easy and fun. As a guest, you can browse and view the various discussions in the forums, but can not create a new topic or reply to an existing one unless you are logged in. Other benefits of registering an account are subscribing to topics and forums, creating a blog, and having no ads shown anywhere on the site.


Back to top








