Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
anonymous
 
Posts: n/a
Default Today variable to calender control

How do I pass the Today variable to a calender control on
a form to set the default as the current date?

TIA

Anonymous
  #2   Report Post  
Paul B
 
Posts: n/a
Default

TIA, use the user form initialize event like this

Private Sub UserForm_Initialize()
Calendar1.Today
End Sub

--
Paul B
Always backup your data before trying something new
Please post any response to the newsgroups so others can benefit from it
Feedback on answers is always appreciated!
Using Excel 2002 & 2003

"anonymous" wrote in message
...
How do I pass the Today variable to a calender control on
a form to set the default as the current date?

TIA

Anonymous



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

See
http://www.rondebruin.nl/calendar.htm

' select Today's date in the Calendar
Calendar1.Value = Date



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



"anonymous" wrote in message ...
How do I pass the Today variable to a calender control on
a form to set the default as the current date?

TIA

Anonymous



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
How to insert date using a pop up calendar control in a cell i Iain the scout Excel Discussion (Misc queries) 4 December 17th 05 08:10 PM
I Need VBA Assistance for global variable question Brent E Excel Discussion (Misc queries) 1 March 1st 05 08:46 PM
Microsoft Calender Control 11.0 akim612 Excel Discussion (Misc queries) 1 January 19th 05 09:24 PM
Control Tab from Combo box- format control missing!! Mo Excel Discussion (Misc queries) 3 January 7th 05 01:09 PM
Copying list-box control Excel Discussion (Misc queries) 1 January 6th 05 01:39 AM


All times are GMT +1. The time now is 10:54 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"