Solved

Excel 2010 VB Calendar Solution

Posted on 2014-04-09
2
552 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
Comment Utility
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
Comment Utility
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

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

A little background as to how I came to I design this code: Around 5 years ago I designed an add-in that formatted Excel files to a corporate standard, applying different cell colours and font type depending on whether the cells contained inputs,…
Drop Down List with Unique/Distinct Values (enhancing the Combo-Box with a few steps and a little code) David miller (dlmille) Intro Have you ever created a data validation list from a database field or spreadsheet column (e.g., Zip Codes or Co…
The viewer will learn how to create a normally distributed random variable in Excel, use a normal distribution to simulate the return on an investment over a period of years, Create a Monte Carlo simulation using a normal random variable, and calcul…
Graphs within dashboards are meant to be dynamic, representing data from a period of time that will change each time the dashboard is updated with new data. Rather than update each graph to point to a different set within a static set of data, t…

744 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

8 Experts available now in Live!

Get 1:1 Help Now