thanks Peter
Peter T wrote:
or simply
strHex = "FFFF00"
lngClr = CLng("&H" & strHex)
Regards,
Peter T
'Requires a reference (in the VBE) to the AnalysisToolPak (atpvbaen.xls)
Sub ColorMyCell()
[quoted text clipped - 14 lines]
-snip-
--
Message posted via OfficeKB.com
http://www.officekb.com/Uwe/Forums.a...mming/201005/1