Quantcast
Channel: CorelDRAW Community
Viewing all articles
Browse latest Browse all 7339

How to set a background color from the palette

$
0
0

I have an application that gets a color from the database. I am trying to create a VBA macro that sets the background to that color. For example, I run a routine that returns the color that is returned as a string value.

Code:

getGarmentColor = getGarmentColor(order).

I am trying to set the background to the color that is defined in getGarmentColor. It appears there is no cast for me to convert the string value (getGarmentColor) into a palette color?:


Viewing all articles
Browse latest Browse all 7339

Trending Articles