Easiest way is to not use the .colorindex but the .color of the interior object. If the colorindex is truly a palette index, then you can get the RGB color using
activeworkbook.colors(MyColorIndex),
but this doesn't work for the "special" color indexes, xlColorIndexNone and xlColorIndexAutomatic.
Now that I have your attention, would you mind looking at the new post I'm about to submit (if you haven't done so already). "Function causing created file to bloat?"
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.