Default ActiveX Date Picker to todays

I heart Excel

Board Regular
Joined
Feb 28, 2011
Messages
66
Hello, Again,

Sorry to ask another question, spent all day yesterday trying to figure stuff out, but am really stuck on two things.

One is defaulting the ActiveX date picker to todays date when the document is open.

The second if whether you are able to sum the difference between ActiveX Time pickers?

Thanks very much
 

Excel Facts

Ambidextrous Undo
Undo last command with Ctrl+Z or Alt+Backspace. If you use the Undo icon in the QAT, open the drop-down arrow to undo up to 100 steps.
Hello,

I am now using a Text box for the date, as I don't want this being amended.

I have got the following to run once the form is opened -

Private Sub Workbook_Open()

Sheets("Annual Leave Form").TextBox1.Value = Date

The problem with this is that the Date is in US format and not UK dd/mm/yyyy.

I know I can set the format, but I am unsure where I need to put this.

Thanks in advance :)
 
Upvote 0

Forum statistics

Threads
1,216,116
Messages
6,128,933
Members
449,480
Latest member
yesitisasport

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top