Hello,
I need a macro to run on the active sheet only. What it basically needs to do is find "01AStart" and select from that row through to the row containing "01AEnd" and then if there are no numeric values in that range it needs to hide it. Then it needs to move on to 01B, then 01C, etc etc. That is just for sheet 01. There are 30 sheets in total, named 01 through to 30, and there varying codes in each sheet (i.e. 01 goes up to 01K and 30 only has 30A).
Ideally I'd like one macro that can be used throughout the whole workbook (but would only actually run on the active sheet).
I think a loop array would work but I'm not quite sure how to write it. And I'd also need it to be a variable array rather than static (i.e. not error when it doesn't find 30B or something like that).
Hope that makes sense...
Thanks![]()
Bookmarks