On Jan 12, 2007, at 5:43 PM, Tristan wrote:

Is there any way that I can get the hex value of a color then pass it into a string?

The easiest way I know is to use a Variant to convert it for you.


Dim s As String
Dim c As Color=&cFF00FF
Dim v As Variant
v=c
s=v

s should now contain "&hFF00FF"

Terry

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to