Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I am trying to allow a user to select a date from a Calendar Control, then
based upon the user's selection, move to a specific Sheet Here is my code so far Private Sub Calendar1_Click() ActiveCell = Calendar1.Value ActiveCell.NumberFormat = "mm/dd/yyyy" If ActiveCell.Value = "04/12/2008" Then Sheets("Week 2").Select End If Unload Me End Sub When the user selects 04/12/2008, the active cell changes, but the cursor stays on this cell and the user does not go to Sheet, "Week 2". Any ideas? Suggestions? thanks |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Calendar control | Excel Programming | |||
Calendar Control | Excel Worksheet Functions | |||
how to switch pages in a multipage control by a commandbutton | Excel Programming | |||
Control disappeared problem - specifically, the Calendar Control | Excel Programming | |||
Calendar Control: Can't exit design mode because control can't be created | Excel Programming |