Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
I would like to be able to write some code to perform operations on
worksheets that doesn't have to worry about what name the user gave to those worksheets. In the Project Explorer pane of the VB Editor, I notice that the worksheets are named "Sheet 1, Sheet2, etc. followed by the user-given names in parenthesis. I've tried executing commands like "Sheets("Sheet3").Range("myRange").value = 22 but it doesn't seem to work. More importantly, I'd like to write code that performs the same operation on multiple worksheets by looping through the worksheets. If I could get Excel to recognize the generic names, I could concatenate "Sheet" with the integer range and accomplish my purpose. Is there a way to get Excel to recognize those sheets as Sheet1, Sheet2, etc? thanks in advance, Paul |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Code names for excel sheets | Excel Discussion (Misc queries) | |||
MAKE A LIST OF NAMES FROM REPEATED NAMES IN THE SAME WORKSHEET | Excel Discussion (Misc queries) | |||
Excel 2007 not saving user-created range names | Excel Discussion (Misc queries) | |||
Generic Worksheet Names | Excel Discussion (Misc queries) | |||
Can I check names in one list agains names in another in excel? | Excel Discussion (Misc queries) |