I am trying to write VBA code to set the displayed date of a Calendar Control 11.0. When I write the code, the Calendar Control shows up in the intellisense, but Day, Month, and Year properties do not show up. I would like to programatically set the displayed date of the Calendar Control.
Dim myDate = 3/1/2010
myCalendar.Day = Day(myDate)
myCalendar.Month = Month(myDate)
myCalnedar.Year = Year(myDate)
The above code does not work, but there is no error message.
Any help appreciated.
Dim myDate = 3/1/2010
myCalendar.Day = Day(myDate)
myCalendar.Month = Month(myDate)
myCalnedar.Year = Year(myDate)
The above code does not work, but there is no error message.
Any help appreciated.