docs / articles / "Add Drop-Down Calendar in Excel Without Date Picker using VBA"

"Add Drop-Down Calendar in Excel Without Date Picker using VBA"

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

Embedding a dropdown calendar in Excel without using a date picker can be a useful tool for streamlining data entry and organization. This can be achieved through the use of VBA (Visual Basic for Applications), Excel's built-in programming language. Let's delve into the process of creating a custom dropdown calendar using VBA.

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 begin, ensure that you have a basic understanding of VBA and Excel's object model. If not, there are numerous online resources available to help you get started.

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

Setting Up the VBA Environment

To begin, you'll need to set up your VBA environment. Open the VBA editor by pressing Alt + F11 in Excel. This will open a new window where you can write and run your VBA code.

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

Next, create a new module by going to Insert > Module. This is where you'll write your VBA code for the dropdown calendar.

Creating the Calendar Worksheet

Perfect Inserting A Dropdown Calendar In Excel
Perfect Inserting A Dropdown Calendar In Excel

First, you'll need to create a new worksheet that will serve as the calendar. This worksheet will contain the dates that will populate your dropdown calendar.

To create a new worksheet, you can use the following VBA code in your module:

Sheets.Add(After:=Sheets(Sheets.Count)).Name = "Calendar"

Populating the Calendar Worksheet

How to Add Date Picker Calendar Drop Down in MS Excel (Easy)
How to Add Date Picker Calendar Drop Down in MS Excel (Easy)

Next, you'll need to populate the calendar worksheet with dates. You can use the following VBA code to do this:

Dim rng As Range
Set rng = ThisWorkbook.Sheets("Calendar").Range("A1")
rng.Value = DateSerial(Year(Date), Month(Date), 1)
rng.NumberFormat = "dd/mm/yyyy"
rng.Offset(1, 0).Resize(31, 1).Value = rng.Value + rng.Resize(31, 1)

This code sets the range A1 in the "Calendar" worksheet to the first day of the current month, formats the date as "dd/mm/yyyy", and then populates the remaining dates in the column.

Creating the Dropdown Calendar

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

Now that you have your calendar worksheet set up, you can create the dropdown calendar in your main worksheet.

To do this, you'll need to use the Data Validation feature in Excel, which allows you to restrict the input in a cell to a specific range of values. In this case, the range of values will be the dates in your calendar worksheet.

How to Make an Interactive Calendar in Excel? (2026 Template)
How to Make an Interactive Calendar in Excel? (2026 Template)
Excel VBA UserForm with Navigation Buttons 🚀 | See it in Action! #shorts
Excel VBA UserForm with Navigation Buttons 🚀 | See it in Action! #shorts
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
Create A Drop-Down List In Excel To Restrict Data
Create A Drop-Down List In Excel To Restrict Data
the calendar dashboard in excel with text overlaying it that reads, calendar dashboard in excel
the calendar dashboard in excel with text overlaying it that reads, calendar dashboard in excel
a calendar with the words, calendar integrated with a to do list template in excel
a calendar with the words, calendar integrated with a to do list template in excel
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
Create a Calendar in Microsoft Excel or Insert a Reference Calendar
Create a Calendar in Microsoft Excel or Insert a Reference Calendar
How to make a dynamic calendar in excel
How to make a dynamic 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
Create a Calendar in Microsoft Excel or Insert a Reference Calendar
Create a Calendar in Microsoft Excel or Insert a Reference Calendar
How to insert calendar in Excel (Date Picker & printable calendar template)
How to insert calendar in Excel (Date Picker & printable calendar template)
How to Create a Drop-down List in Excel (in 60 Seconds)
How to Create a Drop-down List in Excel (in 60 Seconds)
Color Coding Drop-down list in Excel l Drop down list in cell #excelshorts #ytshorts #shorts
Color Coding Drop-down list in Excel l Drop down list in cell #excelshorts #ytshorts #shorts
Don't save the date 📆
Don't save the date 📆
Use This Free Excel Date Picker to Enter Dates on Worksheet
Use This Free Excel Date Picker to Enter Dates on Worksheet
a calendar with the words boss how did you create this calendar in excel?
a calendar with the words boss how did you create this calendar in excel?
Free Excel Leave Tracker Template (Updated for 2026)
Free Excel Leave Tracker Template (Updated for 2026)
Calendar in Excel: Make Dynamic, Interactive Calendar in Excel with Formula + Conditional Formatting
Calendar in Excel: Make Dynamic, Interactive Calendar in Excel with Formula + Conditional Formatting

Setting Up Data Validation

Select the cell where you want your dropdown calendar to appear. Then, go to the Data tab in the ribbon and click on Data Validation. In the settings dialog box, select List from the Allow dropdown menu.

In the Source field, enter the range of dates in your calendar worksheet. For example, if your calendar starts in cell A1 and has 31 dates, you would enter $A$1:$A$32.

Formatting the Dropdown Calendar

To make your dropdown calendar look more like a traditional calendar, you can format the dates in your calendar worksheet to display the day of the week and the date. You can also add a header row to the worksheet to display the month and year.

To do this, you can use the following VBA code:

ThisWorkbook.Sheets("Calendar").Range("A1:B1").Merge
ThisWorkbook.Sheets("Calendar").Range("A1").Value = Format(Date, "mmmm yyyy")
ThisWorkbook.Sheets("Calendar").Range("A2").Value = "Mo Tu We Th Fr Sa Su"
ThisWorkbook.Sheets("Calendar").Range("A2:I2").Font.Bold = True
ThisWorkbook.Sheets("Calendar").Range("A2:I32").NumberFormat = "dd" & Chr(10) & "dd/mm/yyyy"

This code merges the header cells, formats the header as the current month and year, adds a row of abbreviations for the days of the week, and formats the dates to display both the day of the month and the full date.

With these steps, you've successfully created a dropdown calendar in Excel without using a date picker. This custom calendar can be a valuable tool for streamlining data entry and organization in your Excel workbooks. Happy coding!