[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

Excel 2010 VB Calendar Solution

Posted on 2014-04-09
2
Medium Priority
?
617 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 2000 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

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

Question has a verified solution.

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

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.
This article describes a serious pitfall that can happen when deleting shapes using VBA.
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…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

649 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