docs / articles / How to Add a Calendar Date Picker in Excel

How to Add a Calendar Date Picker in Excel

Eric Jul 09, 2026 2026-07-09 04:40:47

Streamlining your workflow in Excel often involves automating repetitive tasks, and inserting a calendar date picker is a great way to expedite data entry. This interactive tool allows users to select dates quickly and accurately, reducing errors and saving time. Here's a step-by-step guide on how to insert a calendar date picker in Excel, ensuring your spreadsheets are not only efficient but also user-friendly.

How to create a drop down list calendar (date picker) in Excel?
How to create a drop down list calendar (date picker) in Excel?

Before we dive into the process, it's essential to understand that Excel doesn't have a built-in date picker. However, we can create a workaround using a combination of Excel features and a simple VBA (Visual Basic for Applications) script. Don't worry if you're new to VBA; this process is straightforward and doesn't require advanced programming knowledge.

Date Picker Add-in for Excel for Windows
Date Picker Add-in for Excel for Windows

Preparing Your Excel Worksheet

Before inserting the date picker, ensure your worksheet is set up correctly. You'll need to create a cell where users can click to open the date picker and another cell to display the selected date.

Excel VBA USERFORMS #25 Date Picker Calendar revealed! Loop through Userforms and Controls  Example
Excel VBA USERFORMS #25 Date Picker Calendar revealed! Loop through Userforms and Controls Example

For this example, let's assume you want the date picker to appear when users click on cell A1. The selected date will then be displayed in cell B1.

Setting Up the Cell for the Date Picker

302K views ยท 10K reactions | How to insert a calendar and date picker in Excelโ€ผ๏ธ ๐Ÿ—‚๏ธ Donโ€™t forget to save this post! ๐Ÿง‘โ€๐Ÿซ Get your FREE Excel templates with the link in our bio! ๐Ÿคฏ Follow us on TikTok, YouTube, Twit | CheatSheets
302K views ยท 10K reactions | How to insert a calendar and date picker in Excelโ€ผ๏ธ ๐Ÿ—‚๏ธ Donโ€™t forget to save this post! ๐Ÿง‘โ€๐Ÿซ Get your FREE Excel templates with the link in our bio! ๐Ÿคฏ Follow us on TikTok, YouTube, Twit | CheatSheets

Select cell A1 and click on the 'Data' tab in the Excel ribbon. Then, click on 'Data Validation' in the 'Data Tools' group. In the 'Data Validation' dialog box, under 'Settings', choose 'Whole Number' as the 'Validation Criteria'. Leave the other fields as they are and click 'OK'.

This step ensures that only whole numbers (representing dates in Excel) can be entered into cell A1.

Setting Up the Cell to Display the Selected Date

How to insert dates from a Popup Calendar (date picker) in Excel โ€“ user guide | XLTools
How to insert dates from a Popup Calendar (date picker) in Excel โ€“ user guide | XLTools

Select cell B1 and format it as a date. To do this, right-click on the cell, select 'Format Cells', then choose 'Number' and 'Date' in the 'Category' list. Click 'OK'.

Now, cell B1 is ready to display the selected date.

Creating the VBA Script for the Date Picker

Excel Date Picker - How to Insert? (Step by Step Examples)
Excel Date Picker - How to Insert? (Step by Step Examples)

Next, we'll create a simple VBA script that will act as our date picker. This script will open a user form with a calendar, allowing users to select a date and then display it in cell B1.

Creating the User Form

How to Insert a Calendar in Excel (the Simplest Way)
How to Insert a Calendar in Excel (the Simplest Way)
How to Add Date Picker Calendar Drop Down in MS Excel (Easy)
How to Add Date Picker Calendar Drop Down in MS Excel (Easy)
Excel tips: typing date from calendar in Excel ๐Ÿ—“๏ธ #exceltips #datepicker #excel
Excel tips: typing date from calendar in Excel ๐Ÿ—“๏ธ #exceltips #datepicker #excel
Calculate days from/before date in Excel
Calculate days from/before date in Excel
How to Make a Calendar Template in Excel
How to Make a Calendar Template in Excel
NEW Date Picker in Excel for Web โ€“ Finally Here
NEW Date Picker in Excel for Web โ€“ Finally Here
How to Make a Calendar in Excel [Complete Guide + Free Templates] - GeeksforGeeks
How to Make a Calendar in Excel [Complete Guide + Free Templates] - GeeksforGeeks
How to create a date picker in Excel!๐Ÿ™
How to create a date picker in Excel!๐Ÿ™
Create Calendar in Excel
Create Calendar in Excel
Calender in Excel โ€ผ๏ธ Amazing Excel trick using data validation and conditional formatting โœ… #Excel
Calender in Excel โ€ผ๏ธ Amazing Excel trick using data validation and conditional formatting โœ… #Excel
an image of a calendar in microsoft office 365 with the date and time tab open
an image of a calendar in microsoft office 365 with the date and time tab open
Use This Free Excel Date Picker to Enter Dates on Worksheet
Use This Free Excel Date Picker to Enter Dates on Worksheet
Never waste time typing out dates again with this calendar tool. ๐Ÿ—“
Never waste time typing out dates again with this calendar tool. ๐Ÿ—“
Insert Calendar & Date Picker in Excel with Add-ins Mini Date Picker! #ExcelTutorial #DatePicker
Insert Calendar & Date Picker in Excel with Add-ins Mini Date Picker! #ExcelTutorial #DatePicker
Pop-up Date Picker for Microsoft Excel
Pop-up Date Picker for Microsoft Excel
How to insert calendar in Excel (Date Picker & printable calendar template)
How to insert calendar in Excel (Date Picker & printable calendar template)
Perfect Inserting A Dropdown Calendar In Excel
Perfect Inserting A Dropdown Calendar In Excel
Excel Autofill - how to quickly enter Months, Days, Dates and Numbers without typing
Excel Autofill - how to quickly enter Months, Days, Dates and Numbers without typing
How to fill date by week in Excel quickly and easily?
How to fill date by week in Excel quickly and easily?
How to Quickly Insert Date And Time In Excel
How to Quickly Insert Date And Time In Excel

Press 'Alt + F11' to open the Visual Basic Editor. In the 'Insert' menu, select 'UserForm' to create a new user form. Name it 'DatePicker'.

From the 'Toolbox' pane, drag and drop a 'Calendar' control onto the user form. Name it 'Calendar1'.

Adding the VBA Code

Double-click on the user form to open its code window. Add the following code:

Private Sub Calendar1_Change()

Range("B1").Value = Calendar1.Value

Unload Me

End Sub

This code sets the value of cell B1 to the selected date in the calendar when a date is chosen.

Assigning the VBA Script to Cell A1

Return to your worksheet and select cell A1. Press 'Alt + F8' to open the 'Macro' dialog box. Select 'DatePicker' (the name of your user form) and click 'Options...'. In the 'Macro Options' dialog box, check 'Assign this macro to an object'. Click 'OK', then 'Close'.

Now, when users click on cell A1, the date picker user form will appear, allowing them to select a date.

Congratulations! You've successfully inserted a calendar date picker in Excel. This interactive tool will significantly enhance your users' experience and streamline your data entry processes.

Remember, the key to effective data management is continuous improvement. Regularly review and update your spreadsheets to ensure they remain efficient and user-friendly. Happy Exceling!