natekris8183
Board Regular
- Joined
- Mar 12, 2013
- Messages
- 156
I think I can likely figure out how to write the VB language so that it locates a worksheet based on a cell value (although if anyone has some suggestions I'll listen), however I am putting some controls on a worksheet to select to redirect you to the appropriate worksheet. Writing that is simple, however there will be 20 controls on the front page (there's 20 locations), so I would prefer not having to rewrite the sub code 20 times. Can you use a defined name of an object to identify the worksheet with the same name:
Object Control is an image (picture) with an assigned macro. For instance the defined name for the object control would be "Sheet1" so the macro would select the Sheets("Sheet1") based upon the defined name "Sheet1". Is this possible?
Object Control is an image (picture) with an assigned macro. For instance the defined name for the object control would be "Sheet1" so the macro would select the Sheets("Sheet1") based upon the defined name "Sheet1". Is this possible?