Solved

Inserting Drop Down Date picker in Excel VBA Userform

Posted on 2013-11-26
4
22,789 Views
Last Modified: 2014-01-06
I have a user form for entering several date and time information.  For ease of data entry I'd like to utilize the date and time picker in Excel 2010.  I want the user to click on a "Date"  button in field A and have the date picker pop up and they can select the date and have it populate field A.  Then they would move to the next fiield click on the "Date" button and they can select the date and have it populate filed B.  Here are my questions:

1.  What is the best way to accomplish this?
2. Since I will be calculating durations is it best to enter the date and time in one field or do it seperate fields.  

Hope this helps.
0
Comment
Question by:Rrave26
  • 2
  • 2
4 Comments
 
LVL 2

Expert Comment

by:David Lo
ID: 39679890
1. Check out this tutorial:
http://www.fontstuff.com/excel/exltut03.htm

2. I would use a separate field to calculate durations.
0
 

Author Comment

by:Rrave26
ID: 39682243
This article seems to apply to putting a drop down calendar on an excel spreadsheet.  Will this work if I want the calendar to pop up on the userform I've created?
0
 
LVL 2

Accepted Solution

by:
David Lo earned 500 total points
ID: 39682640
This page might make more sense to you.

http://www.fontstuff.com/vba/vbatut07.htm
0
 

Author Comment

by:Rrave26
ID: 39688771
Not ignoring you, I will take a look at that solution.
0

Featured Post

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this article we discuss how to recover the missing Outlook 2011 for Mac data like Emails and Contacts manually.
Technology opened people to different means of presenting information, but PowerPoint remains to be above competition. Know why PPT still works today.
Learn how to make your own table of contents in Microsoft Word using paragraph styles and the automatic table of contents tool. We'll be using the paragraph styles in Word’s Home toolbar to help you create a table of contents. Type out your initial …
Many functions in Excel can make decisions. The most simple of these is the IF function: it returns a value depending on whether a condition you describe is true or false. Once you get the hang of using the IF function, you will find it easier to us…

895 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now