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?: