Solved

Excel 2010 VB Calendar Solution

Posted on 2014-04-09
2
565 Views
Last Modified: 2014-04-21
I need a VB date picker solution for a database that I have been working on.  Several weeks back Goflow helped me get some formulas and reports set up with the excel date picker.  This solution works greats for me.  Since that time there are several individuals that are now wanting to look at this.  The problem is that Excel 2010 doesn't come naitive with a date and time picker and this causes a VB error message to pop up when people try to use my spreadsheet.  

What I need is a VB date and time picker solution that I can use within my spreadsheet that other people can open without experiencing any error messages.
Prouduction-IM-METRICS-T-V01.xlsm
0
Comment
Question by:Rrave26
2 Comments
 

Author Comment

by:Rrave26
ID: 39989180
I should mention that the date and time picker is needed for the Team Metrics and Weekly TTIR tabs.
0
 
LVL 14

Accepted Solution

by:
Zack Barresse earned 500 total points
ID: 39991522
Hi there,

Have you searched the internet? There's tons of date/time picker stuff out there for Excel. A simple search yielded these returns for me...

Date Picker, with sample file: http://www.vbaexpress.com/kb/getarticle.php?kb_id=543
Date Picker, using calendar control (somewhat risky): http://stackoverflow.com/questions/13409653/how-to-add-date-picker-to-vba-userform
Date Picker, with sample file: http://www.contextures.com/exceldatepicker.html
Time Picker: http://dailydoseofexcel.com/archives/2007/08/03/time-picker/

Of course there are other, more elaborate ways of doing this. The simplest way is to use some form of control. You could do this in the worksheet easily enough with data validation, even using in-cell drop downs if you'd like. Or you could go with the userform, like the VBAX link above.

I'd recommend to steer very wide and clear of the calendar control (OCX file). While I've used it before with great results, because it looks pretty good, portability and forward compatibility are serious items to consider when using that tool. I mention it with the others merely so you're away, but highly discourage the use of it.

HTH

Regards,
Zack Barresse
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Sparklines have been introduced with Excel 2010 and are a useful tool for creating small in-cell charts, used for example in dashboards. Excel 2010 offers three different types of Sparklines: Line, Column and Win/Loss. What it does not offer is a…
This article will guide you to convert a grid from a picture into Excel format using Microsoft OneNote and no other 3rd party application.
The viewer will learn how to simulate a series of sales calls dependent on a single skill level and learn how to simulate a series of sales calls dependent on two skill levels. Simulating Independent Sales Calls: Enter .75 into cell C2 – “skill leve…
The view will learn how to download and install SIMTOOLS and FORMLIST into Excel, how to use SIMTOOLS to generate a Monte Carlo simulation of 30 sales calls, and how to calculate the conditional probability based on the results of the Monte Carlo …

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

19 Experts available now in Live!

Get 1:1 Help Now