michaelsremasys
asked on
Calendar Options grids
I am able to change the gridfontcolor for every single date, but is it possible to change the color for one particular grid
The code below changes all the grid font colors.
Dim f As Object
Set f = Me.Calendar1
f.GridFontColor = vbRed
Set f = Nothing
The pseudo I was thinking was
if(f.value=20/3/2004) then
f.gridfontcolor = vbred
else
f.gridfontcolor =vbvblue
end if
The result would be the 20/3/2004 would have red as it colour and all others have blue.
Does anyone have any suggestions?
The code below changes all the grid font colors.
Dim f As Object
Set f = Me.Calendar1
f.GridFontColor = vbRed
Set f = Nothing
The pseudo I was thinking was
if(f.value=20/3/2004) then
f.gridfontcolor = vbred
else
f.gridfontcolor =vbvblue
end if
The result would be the 20/3/2004 would have red as it colour and all others have blue.
Does anyone have any suggestions?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.