Smart Systems for Home

Plain how-to guides for smart home, security and home Wi-Fi

Calendar Picker in Excel: How to Add a Date Picker

· 7 min read · Home Tech

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

You can get a clickable calendar picker in Excel, but not with a built-in date picker shown by default. There is no universal "Insert Date Picker" button on the ribbon. The real options are: an ActiveX control called Microsoft Dates and Time Picker (works in Windows desktop Excel through the Developer tab), a dropdown of dates that looks and behaves like a picker, or a calendar template designed for date entry. Pick one of those, and a cell can go from manual typing to clicking a date. This guide walks through the practical routes, starting with the most reliable one for most people.

What You'll Need

  • A Windows computer running desktop Excel (the ActiveX route does not work on Mac Excel or in Excel for the web).
  • The Developer tab enabled, or permission to turn it on in Options.
  • A blank workbook to test in before touching your real file.
  • Macro security set to allow the control to run; the picker is a form control that needs macros enabled.
  • If you cannot use macros or are on Mac or web: a date list plus Data Validation is enough, no developer tools required.

Step-by-Step

  1. Decide which method fits your setup. The native ActiveX picker (Microsoft Date and Time Picker Control) is Windows desktop only. On Mac Excel it is not available, and Excel for the web has no control support at all. If you are on Mac or the web, skip to the Data Validation dropdown method in step 9. Menu labels can differ slightly between Excel versions and regions, so look for the same idea if a name is not exact.
  2. Enable the Developer tab. Go to File > Options > Customize Ribbon. In the right-hand list, tick Developer and click OK. The Developer tab now appears on the ribbon.
  3. Make sure the picker control is installed. Still in Developer, open the Insert dropdown and check whether the More Controls (the button with a spanner and wrench icon) list includes Microsoft Date and Time Picker Control. If it does not, the control is not registered on your machine and you will need the dropdown method instead. Do not download third-party control packs; stick to what Excel and Windows already have.
  4. Insert the control. On the Developer tab, click Insert, then click More Controls under ActiveX Controls, choose Microsoft Date and Time Picker Control, and click OK. Draw a rectangle on the sheet where you want the calendar to sit. It appears as a small dated field that opens a calendar when clicked.
  5. Link the picker to a cell. Right-click the control and choose Properties. Find the LinkedCell property and type a cell address, for example D2. Close the Properties box. Now when someone picks a date, the date is written into D2 as a real Excel date value, not text. This is what makes the picker usable for calculations, filters and pivot tables.
  6. Set the format you want. Change the control's CustomFormat property (for example dd/mm/yyyy or mm/dd/yyyy) so the visible date matches the style your region uses. Alternatively format the linked cell itself with Ctrl+1 and a Date format; the linked cell format controls how the value displays in reports.
  7. Set the date range. In Properties, set MinDate and MaxDate so the calendar cannot offer dates outside your allowed window, such as a booking period or a reporting year. The picker will block dates outside the range, which saves you validation work later.
  8. Turn off Design Mode. On the Developer tab, click Design Mode to switch it off. The control now works as a live picker. If clicking the calendar does nothing, Design Mode is almost certainly still on.
  9. Alternative: build a dropdown picker with Data Validation. On a spare sheet, type a list of dates or type one date and drag the fill handle down to create a sequence. Select your input cell, go to Data > Data Validation, choose List under Allow, and point Source at the date range. Tick Ignore blank and press OK. The cell now has a dropdown of dates. To make it behave more like a calendar, format the column with a date format and add a helper column for the weekday name. This method works on Mac, Windows and Excel for the web, needs no macros, and survives emailing the file.
  10. Alternative: use a calendar template. Go to File > New and search for calendar templates. Several include styled month grids where you select a date and the value is returned to a summary cell. Templates vary, so open the template's instructions sheet to see which cells are inputs; do not overwrite formulas in the grid.
  11. Protect the layout. Once the picker and linked cell work, consider locking cells you do not want edited. Review > Protect Sheet protects the grid while still letting people click cells you left unlocked. Note that ActiveX controls can misbehave on protected sheets in some versions; test before you rely on it.
  12. Save as a macro-enabled file. If you used the ActiveX control, save with File > Save As and choose Excel Macro-Enabled Workbook (.xlsm). Saving as .xlsx strips the macro and control wiring, and the picker will stop working the next time the file opens.

Common Mistakes

  • Leaving Design Mode on. This is the most frequent cause of a picker that will not open. Click Design Mode off and test again.
  • Saving as .xlsx. The control needs a macro-enabled format. If a colleague opens a .xlsm and gets no picker, check their macro security settings and Trust Center, not the sheet design.
  • Typing dates as text. If dates are entered or imported as text, the picker's linked cell looks fine but sorting, filtering and date arithmetic break. Use real date values and check with a simple =ISNUMBER(D2) test.
  • Linking to a merged cell. ActiveX LinkedCell does not like merged cells; the value can disappear or duplicate. Keep the linked cell unmerged and place the picker beside it.
  • Expecting it on Mac or the web. The classic date picker control is a Windows desktop feature. Building it on one machine and opening the file on a Mac will not show the control, and Excel for the web will show the linked value only, if anything.
  • Skipping the date range. Without MinDate and MaxDate, users can select dates outside the intended period and your totals quietly go wrong.

Tips

  • Put the picker in a small panel above your table, link it to a clear input cell, and have all formulas read from that cell. Users click a date, the whole report updates.
  • Use the cell's own number format to control display, so the picker's internal format and the report format can differ without confusion.
  • If your picker is for filtering, add a helper cell showing the chosen date as text in a friendly form such as "Wed 3 Dec" so the selected value is obvious at a glance.
  • Keep a copy of the working file before editing controls, because ActiveX properties are easy to disturb and hard to diagnose when something breaks.
  • For shared files, prefer the Data Validation dropdown. It travels with the file, needs no macros, and works on every platform Excel supports.

Troubleshooting

The calendar does not open when clicked. Check Design Mode first, then confirm the sheet is not protected in a way that blocks controls. Reopen the file and test in a fresh workbook to see whether the problem is file-specific.

The picker vanished after reopening. The file was likely saved as .xlsx. Re-save as .xlsm. If it is already .xlsm, check Trust Center macro settings, which may be disabling ActiveX controls for the current document.

The selected date shows as a number like 45678. The linked cell is formatted as General or Number rather than Date. Select the cell and apply a date format with Ctrl+1.

The value does not calculate. The cell may hold text. Test with ISNUMBER; if it returns FALSE, re-enter the date or reformat and re-enter, since text-like dates are not converted by formatting alone.

It cannot be inserted at all. The control is not installed or you are on Mac or the web. Use the Data Validation dropdown or a calendar template; both are fully supported in those environments.

Frequently Asked Questions

Does Excel have a built-in calendar picker?

Not on the standard ribbon and not by default. The classic picker is an optional ActiveX control accessed through the Developer tab, and only in Windows desktop Excel.

Can I add a calendar picker on Mac Excel?

Not the ActiveX control. Use a Data Validation dropdown of dates or a calendar template instead, both of which work in Excel for Mac.

Will the picker work if I email the file?

Only if the file is saved as .xlsm, macros are enabled on the recipient's machine, and they use Windows desktop Excel. A dropdown built with Data Validation is far more portable.

Can I limit which dates can be picked?

Yes. Set the control's MinDate and MaxDate properties, or use Data Validation with a date rule to block out-of-range entries.

Why does the picker write a number into my cell?

Excel stores dates as serial numbers internally. The cell simply has the wrong number format applied; change it to a Date format to display it properly.

Do I need to know VBA to use a date picker?

No. The control works through its Properties panel and a linked cell. You only need VBA for custom behaviour, such as automatically clearing the picker after a selection.