Hello all,
I am new to the forum, and I apologize if this has been posted elsewhere. I have a file that I would like all visible rows in a certain range to alternate colors. For example, the first row is white, next is gray, etc. My range is A10:Q25. I have found a few macros and other methods for accomplishing this. The biggest issue that I am having is that the alternating colors don't update when I add, remove, or hide the rows within that range. Hiding seems to be the worst issue. Some macros seem to update when I add/remove rows, but hiding rows always gives me problems. The file is going to be used as a template, so rows will be changed regularly. Can someone suggest a macro that would work within A10:Q25 that would alternate row colors consistently and continuously, even if rows within that range are added, removed, or hidden?
For reference, I have experimented with "format as table", but I need some cells to be merged, which apparently eliminates that option. I also have attempted some conditional formatting, but I haven't found an equation that updates consistently. I'm guessing that a macro would be the best option, but I'm open to anything that works. Honestly, having the row colors update as I hide/show the rows would be enough. Any help would be appreciated.
Bookmarks