Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
helevansen
 
Posts: n/a
Default have a calendar pop up in a cell to pick & insert a date in excel

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   Report Post  
David Billigmeier
 
Posts: n/a
Default

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   Report Post  
helevansen
 
Posts: n/a
Default

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   Report Post  
Gord Dibben
 
Posts: n/a
Default

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
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
copying cell names Al Excel Discussion (Misc queries) 12 August 11th 05 03:01 PM
Insert a number of rows based on a value in a cell on active row iRocco Excel Discussion (Misc queries) 1 August 11th 05 06:18 AM
how can i automatically insert cell values into a comment field? spot987654321 Excel Discussion (Misc queries) 1 June 3rd 05 11:10 PM
insert the content of a cell into a header/footer subscriptionsink Excel Discussion (Misc queries) 1 May 26th 05 07:40 PM
GET.CELL Biff Excel Worksheet Functions 2 November 24th 04 07:16 PM


All times are GMT +1. The time now is 02:29 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"