J
Joanne
Hello,
A portion of a macro I'm writing has a calendar control. I put in the
following code
Public Sub ResetCalendar()
Dim vReset As Date
Load frmCalendar
frmCalendar.Show
vReset = Format(Calendar1, "mmm d, yyyy")
MsgBox vReset
End Sub
And strangley the message box always just gives me the time !! I want to
capture the value of the date in the "mmm d, yyyy" format and put it in the
document in 4 places. Do I need to assign a value to "Calendar1"? I've
assigned vreset in the declarations area as a date value. Thanks in advance
for any help you can provide.
A portion of a macro I'm writing has a calendar control. I put in the
following code
Public Sub ResetCalendar()
Dim vReset As Date
Load frmCalendar
frmCalendar.Show
vReset = Format(Calendar1, "mmm d, yyyy")
MsgBox vReset
End Sub
And strangley the message box always just gives me the time !! I want to
capture the value of the date in the "mmm d, yyyy" format and put it in the
document in 4 places. Do I need to assign a value to "Calendar1"? I've
assigned vreset in the declarations area as a date value. Thanks in advance
for any help you can provide.