docs / articles / Excel 2016: Insert Date Picker

Excel 2016: Insert Date Picker

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

Streamlining your workflow in Excel 2016 often involves automating repetitive tasks, and inserting a date picker is a great way to achieve this. A date picker, also known as a calendar control, allows users to select dates quickly and accurately, reducing errors and enhancing user experience. Let's delve into how you can insert a date picker in Excel 2016.

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

Before we dive into the process, it's crucial to understand that Excel 2016 doesn't have a built-in date picker like some other applications. However, we can create a similar functionality using a combination of features. We'll use the Data Validation tool along with a simple VBA (Visual Basic for Applications) script to achieve this.

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

Preparing Your Worksheet

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

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

For this example, let's assume you want to insert a date picker in cell A1 and display the selected date in cell B1.

Setting Up the Cell for Date Selection

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

First, select cell A1 where you want the date picker to appear. Then, click on the 'Data' tab in the ribbon. In the 'Data Tools' group, click on 'Data Validation'.

In the 'Settings' tab of the 'Data Validation' dialog box, under 'Validation criteria', select 'Date' from the 'Allow' dropdown. You can also set other options like 'Start' and 'End' dates if desired. Click 'OK' to close the dialog box.

Setting Up the Cell for Date Display

Use This Free Excel Date Picker to Enter Dates on Worksheet
Use This Free Excel Date Picker to Enter Dates on Worksheet

Next, select cell B1 where the selected date will be displayed. Click on the 'Data' tab again and click on 'Data Validation'. In the 'Settings' tab, select 'Whole Number' from the 'Allow' dropdown. This ensures that only dates (which are stored as serial numbers in Excel) can be entered in this cell.

Click on the 'Input Message' tab. Here, you can add a custom message that will appear when a user clicks on cell A1. This message can instruct the user to click on the cell to open the date picker. Click 'OK' to close the dialog box.

Creating the VBA Script for the Date Picker

How to Insert a Calendar in Excel (the Simplest Way)
How to Insert a Calendar in Excel (the Simplest Way)

Now that your worksheet is set up, it's time to create the VBA script that will act as our date picker. Press 'Alt + F11' to open the Visual Basic Editor. Click on 'Insert' in the menu, then 'Module' to insert a new module.

In the module, paste the following VBA script:

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
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
NEW Date Picker in Excel for Web – Finally Here
NEW Date Picker in Excel for Web – Finally Here
Create a date sequence in Excel and auto fill date series
Create a date sequence in Excel and auto fill date series
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
Calculate days from/before date in Excel
Calculate days from/before date in Excel
Never waste time typing out dates again with this calendar tool. 🗓
Never waste time typing out dates again with this calendar tool. 🗓
How to create a date picker in Excel!🙏
How to create a date picker 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
How to Add Date Picker Calendar Drop Down in MS Excel (Easy)
How to Add Date Picker Calendar Drop Down in MS Excel (Easy)
Create a Calendar in Microsoft Excel or Insert a Reference Calendar
Create a Calendar in Microsoft Excel or Insert a Reference Calendar
How to Filter Dates by Month and Year in Excel (4 Easy Methods)
How to Filter Dates by Month and Year in Excel (4 Easy Methods)
Auto-Write Dates in Excel With This simple Trick in Seconds!📅  #excel #excelshorts
Auto-Write Dates in Excel With This simple Trick in Seconds!📅 #excel #excelshorts
How to Use Excel UserForm as Date Picker (with Easy Steps) - ExcelDemy
How to Use Excel UserForm as Date Picker (with Easy Steps) - ExcelDemy
How to Quickly Insert Date And Time In Excel
How to Quickly Insert Date And Time In Excel
Excel Fixed Date vs TODAY Function for Beginners
Excel Fixed Date vs TODAY Function for Beginners
Perfect Inserting A Dropdown Calendar In Excel
Perfect Inserting A Dropdown Calendar In Excel
the date and time functions in excel, with instructions to use it for each task
the date and time functions in excel, with instructions to use it for each task
How To Create a Calendar In Excel 2016 - VERY EASY!
How To Create a Calendar In Excel 2016 - VERY EASY!
the excel time and date sheet
the excel time and date sheet

Sub DatePicker()
    Application.EnableEvents = False
    ActiveCell.FormulaR1C1 = "=TODAY()"
    ActiveCell.Offset(0, 1).Select
    Application.EnableEvents = True
End Sub

This script sets the selected date in cell A1 to today's date and then moves the selection to cell B1.

Assigning the VBA Script to the Cell

Now, we need to assign this script to cell A1 so that it runs when a user clicks on it. Select cell A1, right-click, and select 'Assign Macro'. In the dialog box that appears, select 'DatePicker' (the name of the VBA script we created) and click 'OK'.

Now, when a user clicks on cell A1, the date picker will appear, allowing them to select a date. The selected date will then be displayed in cell B1.

Testing Your Date Picker

To test your date picker, click on cell A1. A calendar should appear, allowing you to select a date. Once you've selected a date, it should be displayed in cell B1.

Congratulations! You've successfully inserted a date picker in Excel 2016. This functionality can greatly enhance user experience and reduce errors in your spreadsheets.

Remember, the key to effective use of date pickers is to ensure they're used appropriately and don't clutter your worksheet. Always consider the needs of your users and the purpose of your spreadsheet when deciding where and how to use a date picker.