Normally I would just call Workbooks("workbookname").activate and everything works fine.
However, I am calling someone else's script which opens up a new instance of excel with the data I need. The instance of excel that my macro resides in doesn't have access to workbooks in this new instance of excel. The above code returns a "subscript not found" error.
Does anyone have a workaround for this? I can't get anything to work.
Thanks!
However, I am calling someone else's script which opens up a new instance of excel with the data I need. The instance of excel that my macro resides in doesn't have access to workbooks in this new instance of excel. The above code returns a "subscript not found" error.
Does anyone have a workaround for this? I can't get anything to work.
Thanks!