Spellchamp
New Member
- Joined
- Jul 15, 2014
- Messages
- 3
Hi,
I'm trying to select a range of cells in a worksheet that's open on the computer but is not the workbook where the macro is running.
I keep getting this message though:
"Subscript out of range"
with the following line highlighted:
Workbooks("Book1").Activate
I understand it has something to do with not being able to open Book1(where the data I want to select is stored) but I have no idea why.
Any help would be appreciated
Thanks
I'm trying to select a range of cells in a worksheet that's open on the computer but is not the workbook where the macro is running.
I keep getting this message though:
"Subscript out of range"
with the following line highlighted:
Workbooks("Book1").Activate
I understand it has something to do with not being able to open Book1(where the data I want to select is stored) but I have no idea why.
Any help would be appreciated
Thanks