Looks like a HTML colour? They're already in hex so just put the value in the following:
Public Function HexToLong(ByVal HexData As String) As Long
HexToLong = Val("&H" & Trim$(HexData))
End Function
or replace the # with &H e.g.
Private Const MyBackground = &H628262&
merrioncomputin
| Mon, 03 Dec 2007 21:44:00 GMT |