Date picker can be used to insert date in other cells and it changes the format

dpaton05

Well-known Member
Joined
Aug 14, 2018
Messages
2,387
Office Version
  1. 365
  2. 2016
Platform
  1. Windows
I have a date picker for my spreadsheet


and I seem to have got it working.


The date picker works as follows:
To insert a date, click on the cell you want the date in then click on either:
- One of the small red and white calendars
or
- The same calendar image as above, but on the home tab

The problem is that if you click on a cell that is supposed to have a number and then click on one of the calendars and a date, even if the worksheet is protected, the date will be inserted into the cell that was selected and the format will be changed from number to date and this messes up my formulas. I need for it to remain number somehow. Can someone help me please?
 

Excel Facts

Enter current date or time
Ctrl+: enters current time. Ctrl+; enters current date. Use Ctrl+: Ctrl+; Enter for current date & time.

Forum statistics

Threads
1,224,507
Messages
6,179,183
Members
452,893
Latest member
denay

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