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 |
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 |
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 |
All times are GMT +1. The time now is 12:45 PM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com