We help IT Professionals succeed at work.

Check out our new AWS podcast with Certified Expert, Phil Phillips! Listen to "How to Execute a Seamless AWS Migration" on EE or on your favorite podcast platform. Listen Now

x

Calendar Options grids

michaelsremasys
on
Medium Priority
266 Views
Last Modified: 2008-02-01
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?

Comment
Watch Question

Commented:
Unlock this solution with a free trial preview.
(No credit card required)
Get Preview
Unlock the solution to this question.
Thanks for using Experts Exchange.

Please provide your email to receive a free trial preview!

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.