![]() |
dtpicker to display current date when form opens
I have a DT picker in a userform. I would like it to display the current date
on opening. Your assistance with this would be much appreciated. -- Thanks Ron |
dtpicker to display current date when form opens
I don't know what date picker you're using, but maybe...
Option Explicit Private Sub UserForm_Initialize() Me.Calendar1.Value = Date End Sub ron mann wrote: I have a DT picker in a userform. I would like it to display the current date on opening. Your assistance with this would be much appreciated. -- Thanks Ron -- Dave Peterson |
dtpicker to display current date when form opens
Hi Dave,
I am using DT picker and the suggested initialisation has worked a treat. Many thanks to you. Cheers Ron "Dave Peterson" wrote: I don't know what date picker you're using, but maybe... Option Explicit Private Sub UserForm_Initialize() Me.Calendar1.Value = Date End Sub ron mann wrote: I have a DT picker in a userform. I would like it to display the current date on opening. Your assistance with this would be much appreciated. -- Thanks Ron -- Dave Peterson |
All times are GMT +1. The time now is 05:05 AM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com