Home |
Search |
Today's Posts |
#1
![]() |
|||
|
|||
![]()
Hi.
I have 1 workbook with 13 different worksheets. My question is: I have a lot of vb code that is the same for each worksheet. ex: When woorksheet(2) is chosen i want that to be the active worksheet, and insead of this code: MaterialRow = Worksheets(2).Range("Material").Row I would love to have a code instead of Worksheets(2), if i have it like this i have to change to worksheet(3) in the formula when worksheet(3) is chosen etc etc. And a code change the active worksheet. Please help!! -- Nil Satis Nisi Optimum |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
data from one sheet to several in sequential order! | New Users to Excel | |||
Using the Active cell in one sheet for another sheet | Excel Discussion (Misc queries) | |||
How to change macro so it performs actions on ACTIVE sheet? | Excel Discussion (Misc queries) | |||
linking multiple sheets to a summary sheet | Excel Discussion (Misc queries) | |||
Naming & renaming a sheet tab | Excel Worksheet Functions |