Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
vba calendar
I am using a form that has a calendar in it. Does anyone know how to get it
to show todays date when the form opens verses the date i built the form? Not a huge problem just very annoying. -- Thank you, Jennifer |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
vba calendar
I'm assuming by "form" you mean UserForm and by "calendar" you mean the
Calendar Control. Further assuming your Calendar Control is named Calendar1, put the following code in the UserForm's code window... Private Sub UserForm_Initialize() Calendar1.Value = Date End Sub Obviously, if you already have an existing UserForm_Initialize event procedure in your project, simply add the Calendar1.Value = Date statement to it instead. Rick "Jennifer" wrote in message ... I am using a form that has a calendar in it. Does anyone know how to get it to show todays date when the form opens verses the date i built the form? Not a huge problem just very annoying. -- Thank you, Jennifer |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
find free sharware to include calendar pop or use calendar in cell | Excel Discussion (Misc queries) | |||
how do i export excel calendar info to outlook calendar? | Excel Discussion (Misc queries) | |||
monthview calendar question/ want the calendar to display weekdays only.. | Excel Programming | |||
Modify Yearly Calendar to Monthly Calendar Excel 2000? | Excel Programming | |||
import calendar items from excel into outlook calendar | Excel Discussion (Misc queries) |