In visual basic, I can set the color of a cell with the .interior.colorIndex property. How can I read the color of a cell before I change it?
Use a line of code like this: OrigColor = Selection.Interior.ColorIndex Can I see a list of the ColorIndex and the corresponding color To see the colors, go to the visual basic editor. Hit the help question mark. Type ColorIndex. From the list of topics, select the one called “ColorIndex Property”. They have a nice visual table at the bottom of this help topic.