docs / articles / Excel VBA Date Picker Control Missing: Troubleshooting Guide

Excel VBA Date Picker Control Missing: Troubleshooting Guide

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

Are you facing issues with the Excel VBA Date Picker control missing from your toolbox? You're not alone. This control, also known as the DateTimePicker, is a valuable tool for inserting dates into your VBA code or Excel cells. Let's delve into why this might be happening and how to resolve the issue.

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

Before we dive into troubleshooting, it's essential to understand that the Date Picker control is part of the Microsoft Forms 2.0 Object Library. So, if you're missing it, there might be an issue with your references or the library itself.

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

Why is the Excel VBA Date Picker Control Missing?

The Date Picker control could be missing due to several reasons. Let's explore the most common ones.

Excel VBA UserForm with Navigation Buttons 🚀 | See it in Action! #shorts
Excel VBA UserForm with Navigation Buttons 🚀 | See it in Action! #shorts

1. **Incorrect Reference:** The Microsoft Forms 2.0 Object Library might not be referenced correctly in your VBA project. This could lead to the Date Picker control being missing from your toolbox.

Incorrect Reference: How to Fix

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

To fix this, follow these steps:

1. In the VBA Editor, go to the Tools menu and select References.

2. Scroll down and ensure that 'Microsoft Forms 2.0 Object Library' is checked. If it's not, check the box and click OK.

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

Missing Microsoft Forms 2.0 Object Library: How to Install

If the Microsoft Forms 2.0 Object Library is not listed in the References dialog box, you might need to install it. Here's how:

1. Open the Control Panel and select Programs and Features.

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

2. Find Microsoft Office in the list, right-click on it, and select Change.

3. In the Setup dialog box, select Add or Remove Features, then click Continue.

NEW Date Picker in Excel for Web – Finally Here
NEW Date Picker in Excel for Web – Finally Here
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)
How to create a date picker in Excel!🙏
How to create a date picker in Excel!🙏
Excel VBA Copy Data from Multiple Workbooks
Excel VBA Copy Data from Multiple Workbooks
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 Use Data Validation in Excel
How to Use Data Validation in Excel
The Complete Guide to Excel VBA Form Control Checkboxes - wellsr.com
The Complete Guide to Excel VBA Form Control Checkboxes - wellsr.com
How to Add Date Picker Calendar Drop Down in MS Excel (Easy)
How to Add Date Picker Calendar Drop Down in MS Excel (Easy)
Free Macros & VBA Webinar!
Free Macros & VBA Webinar!
Excel VBA UserForm with Navigation Buttons | Move Between Records Easily!
Excel VBA UserForm with Navigation Buttons | Move Between Records Easily!
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
Create a date sequence in Excel and auto fill date series
Create a date sequence in Excel and auto fill date series
Create Your First Button with Excel VBA – Automate with a Click
Create Your First Button with Excel VBA – Automate with a Click
calculate expiry date in excel | Excel Tutorials | how to calculate expiry date in Excel #Excel2022
calculate expiry date in excel | Excel Tutorials | how to calculate expiry date in Excel #Excel2022
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
a screenshot of the vba user form
a screenshot of the vba user form
4 Mistakes to Avoid When Programming Excel Macros With VBA
4 Mistakes to Avoid When Programming Excel Macros With VBA
the excel time and date sheet
the excel time and date sheet
Excel Fixed Date vs TODAY Function for Beginners
Excel Fixed Date vs TODAY Function for Beginners
Microsoft Excel format text as date (dd mm yyyy format )
Microsoft Excel format text as date (dd mm yyyy format )

4. In the Add or Remove Features dialog box, select Microsoft Forms 2.0 Object Library and click Continue, then Install Now.

Other Possible Reasons for the Missing Date Picker Control

Besides incorrect references, there could be other reasons why the Date Picker control is missing. Let's explore a couple more.

1. **Incorrect Toolbox Settings:** Your toolbox might not be set up to display the Date Picker control.

Incorrect Toolbox Settings: How to Fix

To fix this, follow these steps:

1. In the VBA Editor, go to the View menu and select Toolbox.

2. In the Toolbox dialog box, ensure that 'Forms' is checked. If it's not, check the box and click OK.

3. Now, the Date Picker control should appear in your toolbox.

Date Picker Control Not Working After Upgrade: How to Fix

If you've recently upgraded your Excel version, the Date Picker control might not work as expected. Here's a workaround:

1. Instead of using the Date Picker control, you can use the InputBox function to get a date from the user. Here's an example:

```vba Dim userDate As Variant userDate = InputBox("Enter a date (mm/dd/yyyy):", "Date Input", Date) ```

This will prompt the user to enter a date in the format mm/dd/yyyy. The entered date will be stored in the userDate variable.

Remember, the Date Picker control is a visual tool that makes it easier to select dates. If it's not working, you can always use alternative methods like the InputBox function to get dates from users.

In conclusion, if you're facing issues with the Excel VBA Date Picker control missing, it's likely due to incorrect references or toolbox settings. By following the steps outlined above, you should be able to resolve the issue and get back to using this valuable tool. Happy coding!