Color Index and RGB Color

X

X-Men

Does anyone know how to convert a integer value colorindex to its RGB color
value in VBA?
Thanks!
 
T

Tom Ogilvy

A better answer

msgbox activeworkbook.Colors(39)

where 39 is the colorindex.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top