Solved

Excel 2010 VB Calendar Solution

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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Some code to ensure data integrity when using macros within Excel. Also included code that helps secure your data within an Excel workbook.
When you see single cell contains number and text, and you have to get any date out of it seems like cracking our heads.
This Micro Tutorial will demonstrate how to create pivot charts out of a data set. I also added a drop-down menu which allows to choose from different categories in the data set and the chart will automatically update.
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…

690 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