datetime picker is not holding custom format after saving sheet

payners

New Member
Joined
Dec 17, 2018
Messages
2
I am using the DateTime picker and it will not hold the custom format even though it shows it has not been changed in the DTPicker properties. I have tried hard coding using dtpicker1.customformat but that doesn't hold either. Is it possible to create a date/time picker without using the activex control? Whenever I open the document it says active content disable so I select enable then add-ins disabled so I enable that and then I get unexpected error please restart if continues--which I have done.

When I open the sheet the picker shows only the date in long format not date and time. Under properties, I checked: enable, checkbox and updown. I've noticed the value box gets unchecked each time I save and reopen the sheet. Format is set to custom and the custom format is MM/dd/yyyy HH:mm:ss tt. The tt was added in hopes that it would save the format. any help would be apprieciated with correcting this fault or just writing a vba code without using the activex to have 105 rows user select date and time in the same cell.
 

Excel Facts

What does custom number format of ;;; mean?
Three semi-colons will hide the value in the cell. Although most people use white font instead.

Forum statistics

Threads
1,215,222
Messages
6,123,717
Members
449,116
Latest member
Aaagu

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