Hi
I recorded a macro to select all sheets, but it used the Array(1,2,3,4,) method with the sheet names.
I want to be able to select all sheets, but use the module in various workbooks, ie with varying amounts of sheets.
Can I do something like
p = Sheets.Count
v = Array(1, 2, -to p) ‘ how can i enumerate this?
Sheets(v).Select
or is there a nice simply way?