acsmiamiguy
New Member
- Joined
- Jan 1, 2018
- Messages
- 8
Need to jump to sheets based on a range name
Item = Range("B2")
MsgBox (Item)
Sheets(Item).Select
The MsgBox code works and gives the result of '100', which is the contents of cell B2. I thought if that is true, then the next line Sheets(Item).Select would work, since 'Item' is equal to '100)'. Only it doesn't. Very frustrating.
What am I missing?
Thanks!
Item = Range("B2")
MsgBox (Item)
Sheets(Item).Select
The MsgBox code works and gives the result of '100', which is the contents of cell B2. I thought if that is true, then the next line Sheets(Item).Select would work, since 'Item' is equal to '100)'. Only it doesn't. Very frustrating.
What am I missing?
Thanks!