Date Picker Alternatives for 64-Bit Excel 2013 UserForms
Question details
Find a way to enter or select dates in a VBA UserForm when the Microsoft Date and Time Picker control is unavailable.

- 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.
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.
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.
Press Alt+F11 in Excel to open the VBA editor, then open your UserForm from the Project Explorer.
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.
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
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.

Add a 64-bit-compatible VBA calendar UserForm
Use a VBA-based calendar if users need to select dates visually.
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.

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.




