G
Geoff
Hi
I have put the hex values of colors into Range("A1:A5").
&H0&
&HFFFFFF&
&HFF&
&HFF00&
&HFF0000&
How can i iterate through the range and use the hex value? The code below
fails with 'Mismatch'
Dim frm,frmcolor
For i =1 to 5
frmcolor = Sheets(1).Cells(i , 1).Value
frm.BackColor = frmcolor
Next
Appreciate any help.
T.I.A.
Geoff
I have put the hex values of colors into Range("A1:A5").
&H0&
&HFFFFFF&
&HFF&
&HFF00&
&HFF0000&
How can i iterate through the range and use the hex value? The code below
fails with 'Mismatch'
Dim frm,frmcolor
For i =1 to 5
frmcolor = Sheets(1).Cells(i , 1).Value
frm.BackColor = frmcolor
Next
Appreciate any help.
T.I.A.
Geoff