Hello,
I would like to open a calendar control on my form to automatically select 14 days out from the current date.
Any assistance would be greatly appreciated.
Thanks,
lhardee
Hello,
I would like to open a calendar control on my form to automatically select 14 days out from the current date.
Any assistance would be greatly appreciated.
Thanks,
lhardee
I found it !
[VBA]
Private Sub UserForm_Activate()
Calendar1.Value = (Date + 14)
End Sub
[/VBA]
Thanks
lhardee
FYI discussion on the problems you might encounter using the calendar control:
http://www.vbaexpress.com/forum/showthread.php?t=10914
Steve
"Nearly all men can stand adversity, but if you want to test a man's character, give him power."
-Abraham Lincoln
Thanks a bunch Lucas,
I've saved a few things from that discussion that are a big help!
lhardee