Thank you all. Will use Cstr.
On Jan 12, 2007, at 8:19 PM, Carlos M wrote:
On Jan 13, 2007 2:01 AM, Terry Ford wrote:
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"
Or just using CStr:
Dim s As String
Dim c As Color=&cFF00FF
s = CStr(c)
Carlos
_______________________________________________
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>
_______________________________________________
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>