Home |
Search |
Today's Posts |
|
#1
![]() |
|||
|
|||
![]()
How do i have a calendar pop up in a cell in excel worksheet and be able to
pick a date to be inserted in that cell? |
#2
![]() |
|||
|
|||
![]()
helevansen -
Here are the steps to get what you are looking for: 1) Open the "Control Toolbox" toolbar (View-Toolbars-'Control Toolbox') 2) Click on the 'More Controls' Button (the one that looks like a hammer and wrench) 3) Select 'Calendar Control 11.0', this will load a calendar onto your spreadsheet. 4) Right click on the calendar and select 'View Code' 5) Paste this code: Private Sub Calendar1_Click() With ActiveCell .Value = Me.Calendar1.Value .NumberFormat = "mm/dd/yy" .Select End With End Sub 6) In the "Control Toolbox" toolbar click on "Exit Design Mode" (left most icon on the control toolbox toolbar. This will output the current system date to the active cell when you click on a date on the calendar. -- Regards, Dave "helevansen" wrote: How do i have a calendar pop up in a cell in excel worksheet and be able to pick a date to be inserted in that cell? |
#3
![]() |
|||
|
|||
![]()
I am working with Excel Calendar Object 8.0. it doesn't have an exit design
mode icon. I was able to follow steps 1 - 5 and then just closed the code window. The calendar remains on top of the worksheet. I would like to be able to click on the cell, have the calendar pop up while in a cell, and then be able to pick a date and have the date appear in the cell and have the calendar either hidden or somewhere else on the spread sheet. Does that make it any clearer? Helen "David Billigmeier" wrote: helevansen - Here are the steps to get what you are looking for: 1) Open the "Control Toolbox" toolbar (View-Toolbars-'Control Toolbox') 2) Click on the 'More Controls' Button (the one that looks like a hammer and wrench) 3) Select 'Calendar Control 11.0', this will load a calendar onto your spreadsheet. 4) Right click on the calendar and select 'View Code' 5) Paste this code: Private Sub Calendar1_Click() With ActiveCell .Value = Me.Calendar1.Value .NumberFormat = "mm/dd/yy" .Select End With End Sub 6) In the "Control Toolbox" toolbar click on "Exit Design Mode" (left most icon on the control toolbox toolbar. This will output the current system date to the active cell when you click on a date on the calendar. -- Regards, Dave "helevansen" wrote: How do i have a calendar pop up in a cell in excel worksheet and be able to pick a date to be inserted in that cell? |
#4
![]() |
|||
|
|||
![]()
helevansen
Visit Ron de Bruin's site for how to work with a calendar. http://www.rondebruin.nl/calendar.htm Note: Ron suggests Inserting the Calendar as an InsertObject and not through the Control Toolbox. Gord Dibben Excel MVP On Thu, 29 Sep 2005 12:33:02 -0700, "helevansen" wrote: I am working with Excel Calendar Object 8.0. it doesn't have an exit design mode icon. I was able to follow steps 1 - 5 and then just closed the code window. The calendar remains on top of the worksheet. I would like to be able to click on the cell, have the calendar pop up while in a cell, and then be able to pick a date and have the date appear in the cell and have the calendar either hidden or somewhere else on the spread sheet. Does that make it any clearer? Helen "David Billigmeier" wrote: helevansen - Here are the steps to get what you are looking for: 1) Open the "Control Toolbox" toolbar (View-Toolbars-'Control Toolbox') 2) Click on the 'More Controls' Button (the one that looks like a hammer and wrench) 3) Select 'Calendar Control 11.0', this will load a calendar onto your spreadsheet. 4) Right click on the calendar and select 'View Code' 5) Paste this code: Private Sub Calendar1_Click() With ActiveCell .Value = Me.Calendar1.Value .NumberFormat = "mm/dd/yy" .Select End With End Sub 6) In the "Control Toolbox" toolbar click on "Exit Design Mode" (left most icon on the control toolbox toolbar. This will output the current system date to the active cell when you click on a date on the calendar. -- Regards, Dave "helevansen" wrote: How do i have a calendar pop up in a cell in excel worksheet and be able to pick a date to be inserted in that cell? |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
copying cell names | Excel Discussion (Misc queries) | |||
Insert a number of rows based on a value in a cell on active row | Excel Discussion (Misc queries) | |||
how can i automatically insert cell values into a comment field? | Excel Discussion (Misc queries) | |||
insert the content of a cell into a header/footer | Excel Discussion (Misc queries) | |||
GET.CELL | Excel Worksheet Functions |