Store custom color in the palette

X

XP

In MS-Excel I use code like the following to store a custom color on the
palette:

ActiveWorkbook.Colors(16) = RGB(216, 219, 204)

What is the equivalent code in Visio?

Thanks much in advance.
 
P

Paul Herber

In MS-Excel I use code like the following to store a custom color on the
palette:

ActiveWorkbook.Colors(16) = RGB(216, 219, 204)
What is the equivalent code in Visio?
Thanks much in advance.

Visio doesn't have a restricted palette, you can use RGB(r,g,b)
anywhere, however, if you want to store a shade somewhere then you
could store it in the document or page user-defined cells or scratch
cells.

What are you trying to do?
 

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