VBA & Macro Problems

Date Picker Alternatives for 64-Bit Excel 2013 UserForms

Steven ParkerSteven Parker Nov 27, 2026 869 views

Question details

Find a way to enter or select dates in a VBA UserForm when the Microsoft Date and Time Picker control is unavailable.

Date Picker Alternatives for 64-Bit Excel 2013 UserForms
Product
Microsoft Excel 2013, 64-bit
Device & OS
not provided
Scenario
A developer is building an Excel VBA UserForm that needs a date-entry control.
Observed behavior
The Microsoft Date and Time Picker control may not be available in the 64-bit Excel environment.
Before you start

In Excel, select File > Account > About Excel to confirm that you are using the 64-bit edition. Open the workbook in desktop Excel and make sure its VBA macros are enabled if you intend to run the UserForm.

Solution 1Recommended

Use a validated date-entry field in the UserForm

Use a TextBox and VBA validation when a visual calendar is not essential.

This approach avoids the unavailable Date and Time Picker control. IsDate recognizes date formats according to the computer's regional settings, so tell users which format to enter.

1
Open the UserForm

Press Alt+F11 in Excel to open the VBA editor, then open your UserForm from the Project Explorer.

2
Add date-entry controls

Use the Toolbox to add a TextBox and a CommandButton. In the Properties window, name them txtDate and cmdOK, and set the button's Caption to OK.

3
Validate the entry

Double-click the OK button and add this event procedure to the UserForm code: Private Sub cmdOK_Click() If Not IsDate(Me.txtDate.Value) Then MsgBox "Enter a valid date using your regional date format." Exit Sub End If Me.txtDate.Value = Format(CDate(Me.txtDate.Value), "Short Date") Me.Hide End Sub

4
Test the form

Run the UserForm from the VBA editor with F5. Enter an invalid value to check the message, then enter a valid date and select OK.

Use a validated date-entry field in the UserForm
Use the validated date: The example validates and formats the TextBox value but does not write it to a worksheet. Your calling code can read the value after the form is hidden.
Free Microsoft Office alternative

Work with Excel spreadsheets in WPS Office

WPS Office is a free, lightweight alternative with a familiar spreadsheet interface and support for common Excel formats, making it easier to move everyday spreadsheet work. It does not fix Excel's unavailable Date and Time Picker control; test any VBA UserForms and macros separately before relying on them.

Open and edit Microsoft Excel XLS and XLSX filesEnter and format dates in spreadsheet cellsUse a familiar interface for everyday spreadsheet workMove compatible spreadsheet files without starting from scratch
microsoft office alternative - wps office

Frequently Asked Questions

Why is the Microsoft Date and Time Picker unavailable in 64-bit Excel 2013?

The commonly used Microsoft Date and Time Picker ActiveX control is a 32-bit control and cannot run inside 64-bit Excel. Use a compatible VBA calendar or another date-entry method instead.

Can I enter a date without adding a calendar?

Yes. Add a TextBox to the UserForm and validate its value with VBA's IsDate function before accepting it. Tell users to follow their computer's regional date format.

How can I check whether my Excel installation is 64-bit?

In Excel 2013, select File > Account > About Excel. The About dialog shows the installed edition and its bitness.

Where can I get help implementing a VBA calendar?

Ask in an Excel or Office development forum and include your Excel version, bitness, relevant UserForm code, and any error messages.