When trying to use the macro below for subtotaled columns I will select a range of subtotals, use the Select Visible Cells button, start the macro and it will highlight cells. However, the macro ignores the visible cells and looks at the entire range to randomly highlight. How can the macro only look at the visible subtotaled cells? I believe it has to do with Selection.SpecialCells(xlCellTypeVisible).Select, just not sure where in the macro to define visible cells.
I have just started with macros and learning as I go. From what I can tell it seems like the possibilities are endless with a macro.
Thanks!![]()
Please Login or Register to view this content.
Moderators note: code tags added for you - this time![]()
Bookmarks