Solved

Inserting Drop Down Date picker in Excel VBA Userform

Posted on 2013-11-26
4
24,118 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

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

Microsoft Office Picture Manager is not included in Office 2013. This comes as a shock to users upgrading from earlier versions of Office, such as 2007 and 2010, where Picture Manager was included as a standard application. This article explains how…
Do you use a spreadsheet like Microsoft's Excel?  Have you ever wanted to link out to a non excel file on your computer or network drive?  This is the way I found to do it!
This Micro Tutorial demonstrate the bugs in Microsoft Excel for Mac with Pivot Charts.
This Micro Tutorial will demonstrate how to use longer labels with horizontal bar charts instead of the vertical column chart.

739 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