Thanks a bunch Steve.....
"Steve C. Orr [MVP, MCSD]" <St***@Orr.net> wrote in message news:%2****************@TK2MSFTNGP03.phx.gbl...
I had similar problems. Depending on what you're doing exactly you may be able to use this function I patched together that converts colors to their hex values so they'll be more browser friendly.
Public Function Color2Hex(ByVal clr As Color) As String
Dim HexR, HexB, HexG As String
Try
'Get Red Hex
HexR = Hex(clr.R)
If Len(HexR) < 2 Then HexR = "0" & HexR
'Get Green Hex
HexG = Hex(clr.G)
If Len(HexG) < 2 Then HexG = "0" & HexG
'Get Blue Hex
HexB = Hex(clr.B)
If Len(HexB) < 2 Then HexB = "0" & HexB
Catch ex As Exception
Return ""
End Try
Return "#" & HexR & HexG & HexB 'Output complete hex
End Function
--
I hope this helps,
Steve C. Orr, MCSD, MVP
http://SteveOrr.net
"Nalaka" <na******@nospam.nospam> wrote in message news:OU**************@TK2MSFTNGP04.phx.gbl...
Hi....
When I pick colors using the design mode.... it puts c"color names" into the
markup.
Then in the "HTML mode"... shows a lot of color related errors.
How do I get the gui editor to put colors numbers instead (of names)?
any help is appreatiated
Nalaka