Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi,
I am working with a form in Excel, and I've been trying to get the calendar control (11) to fire when only the month and year are completed, but I cannot find a way. Currently, I have this code behind the calendar (which comes up from a button on the form): ======= Private Sub calendar1_Click() Calendar1.Day = 1 frmCourseBooking.txtDateTaken.Value = frmCal.Calendar1.Value Unload frmCal End Sub ========== This does work, but it only will work one time: if the "parent" form is left open and the calendar launch button is clicked again, the calendar does come up, but the first day of the month isn't selected after the first time. Basically, I'm just trying to get around having to select the day by having it in the code. Any help is greatly appreciated. Thanks, Louis |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Tell me which "season" (Month/Day through Month/Day) a date(Month/Day/Year) falls in (any year)??? | Excel Discussion (Misc queries) | |||
Help dealing with a fiscal year rather than a calendar year | Excel Worksheet Functions | |||
Opening calendar form with today's month & year | Excel Discussion (Misc queries) | |||
change the year in a calendar template to different year | Excel Discussion (Misc queries) | |||
Need advice, help on creating Microsoft month calendar control using the winapi in Excel | Excel Programming |