Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
John Paul
 
Posts: n/a
Default display Calendar for Excel field entry?

Using Excel 2003 I'm building a Form Spreadsheet that many dates need to be
entered by users. Instead of keying each date how do I display a calendar
for spread sheet cell for user to point & click the date they want entered?
  #2   Report Post  
Duke Carey
 
Posts: n/a
Default

Go to the Control toolbox (View-Toolbars), click on the bottom right icon on
the panel (looks like a crossed hammer & wrench) and scroll down and select
the Calendar Control. Then draw it on your spreadsheet

Note: You'll need to draw it at the very top of the sheet & then freeze the
panes so that it's in view all the time. Also, you'll have to attach code to
the calendar to put the selected date into a cell. The problem is, what
cell?

Your users will most likely have to select the target cell first, then
double-click the desired date.

You can use this simple code:

Private Sub Calendar1_DblClick()
With ActiveCell
.Value = Me.Calendar1.Value
.NumberFormat = "mm/dd/yy"
.Select
End With
End Sub

attach it by right clicking on the calendar and selecting View Code


"John Paul" wrote:

Using Excel 2003 I'm building a Form Spreadsheet that many dates need to be
entered by users. Instead of keying each date how do I display a calendar
for spread sheet cell for user to point & click the date they want entered?

  #3   Report Post  
Ron de Bruin
 
Posts: n/a
Default

Another option is this
http://www.rondebruin.nl/calendar.htm


--
Regards Ron de Bruin
http://www.rondebruin.nl


"Duke Carey" wrote in message ...
Go to the Control toolbox (View-Toolbars), click on the bottom right icon on
the panel (looks like a crossed hammer & wrench) and scroll down and select
the Calendar Control. Then draw it on your spreadsheet

Note: You'll need to draw it at the very top of the sheet & then freeze the
panes so that it's in view all the time. Also, you'll have to attach code to
the calendar to put the selected date into a cell. The problem is, what
cell?

Your users will most likely have to select the target cell first, then
double-click the desired date.

You can use this simple code:

Private Sub Calendar1_DblClick()
With ActiveCell
.Value = Me.Calendar1.Value
.NumberFormat = "mm/dd/yy"
.Select
End With
End Sub

attach it by right clicking on the calendar and selecting View Code


"John Paul" wrote:

Using Excel 2003 I'm building a Form Spreadsheet that many dates need to be
entered by users. Instead of keying each date how do I display a calendar
for spread sheet cell for user to point & click the date they want entered?



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
i cant display field list in pivot table Cesar Excel Discussion (Misc queries) 1 May 28th 05 11:45 PM
drop down menu with calendar entry Pip Excel Discussion (Misc queries) 4 March 15th 05 07:36 PM
HOw do I display text in the data field of the pivot table, inste. Zoltan Excel Worksheet Functions 1 March 2nd 05 06:21 PM
How do I display records using a key field in Excel? Vic from Texas Excel Worksheet Functions 1 March 1st 05 10:16 PM
Display dates from an Excel spreadsheet in a calendar? kescheu Excel Worksheet Functions 0 February 15th 05 08:45 PM


All times are GMT +1. The time now is 10:06 AM.

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

About Us

"It's about Microsoft Excel"