Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I must be out of practice because this has got to be very simple and I
just can't figure it out... or it is because I do not have access to my books ... but, how do you do: dim sheetName as Worksheet sheetName = ActiveWorksheet.Name If sheetName = name_of_first_sheet THEN do a bunch of stuff elseif sheetName = Name_of_second_sheet THEN do a bunch of other stuff endif |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Nevermind .. I found the answer ... !DOH!
|
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Link variable data from one worksheet to another worksheet? | New Users to Excel | |||
Variable worksheet name (tab) linked to cell in same worksheet | Excel Worksheet Functions | |||
Looking up a variable in one worksheet and copying information from another column to another worksheet?? | Excel Discussion (Misc queries) | |||
Variable VBA Worksheet Name | Excel Programming | |||
Assigning worksheet to worksheet variable | Excel Programming |