![]() |
set worksheet name to a variable ...
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 |
set worksheet name to a variable ...
Nevermind .. I found the answer ... !DOH!
|
All times are GMT +1. The time now is 03:02 PM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com