on-internet
← Community

Highlight modified cells and clear highlight before exit

Stack Overflow ·

I need to be able to highlight cells that are modified and before the sheet is closed, remove the highlighting. Typically the cells that will be changed are always in one column. I've been reading the developer reference and playing in vba all day. Despite my best efforts I can't seem to figure this one out. I have a string of code that highlights any targeted cell: Target.Interior.Color = RGB(181, 244, 0) I was thinking of making an array that recorded targeted cells and on a BeforeClose event, clearing the formatting based on the arrays values. Is that even possible? Thanks in advance!

Comments

Sign in or sign up to comment and upvote.

No comments yet.