Solved

Excel 2010 VB Calendar Solution

Posted on 2014-04-09
2
577 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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

This tutorial explains how to create a series of drop-down lists that are dependent upon prior selections to guide (“force”) the user to make the correct selection and reduce data errors within Microsoft Excel. Excel 2010 was used for this tutorial;…
Freeze panes is an option within all variants of Excel to enable parts of a sheet to remain stationary when the cursor is in another part of the sheet. This is a very useful feature which is overlooked or under used.
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…
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

860 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