Results 1 to 6 of 6

Thread: How add a drop down calendar in a cell?

  1. #1

    How add a drop down calendar in a cell?



    Register for a FREE account, and/
    or Log in to avoid these ads!

    Click image for larger version. 

Name:	jj.jpg 
Views:	853 
Size:	99.3 KB 
ID:	301I looked all over the internet and Iím trying to get it to where you clock in a particular cell a calendar will appear to select a date. Does anyone have the VBA code? I tried one solution where you go into the Developer tab and use the Microsoft Date and Time Picker Control. Some reason after I get it all set up it doesnít look clean at all. Check out the image.

  2. #2

  3. #3
    Administrator Ken Puls's Avatar
    Join Date
    Mar 2011
    Location
    Nanaimo, BC, Canada
    Posts
    2,090
    Articles
    79
    Blog Entries
    14
    Hey there,

    Personally, I avoid the Date and Time picker control like the plague. I've found it works well on some machines, and not at all on others. (And yes, the correct ocx files are installed on all.) I got really tired of fighting with it.

    Bluecactus made a fantastic calendar picker based on a VBA userform. I've used that as a default for years now, and never had an issue with it. If you're interested, you can download a copy from the VBAExpres knowledgebase here: http://www.vbaexpress.com/kb/getarticle.php?kb_id=791 (You may need to sign up for an account first.) The example file is at the bottom of the page, and contains full documentation on how to implement and use it.
    Ken Puls, FCPA, FCMA, MS MVP (Excel)

    Master your data with Power Query: Purchase your copy of my book M is for Data Monkey today!

    Main Site: http://www.excelguru.ca -||- Blog: http://www.excelguru.ca/blog -||- Forums: http://www.excelguru.ca/forums
    Check out the Excelguru Facebook Fan Page -||- Follow Me on Twitter

    If you've been given VBA code (a macro) for your solution, but don't know where to put it, CLICK HERE.

  4. #4
    Neophyte psawyer's Avatar
    Join Date
    Feb 2012
    Location
    Berlin, Germany
    Posts
    3
    Articles
    0

    Alternative to calendar control

    Here a link to a code that I wrote to avoid using Calendar control which did not work in my Window 7 environment.
    Attached Files Attached Files

  5. #5

    Question Error Message?

    Quote Originally Posted by psawyer View Post
    Here a link to a code that I wrote to avoid using Calendar control which did not work in my Window 7 environment.
    I get a message telling me 'Type Mismatch'. What am i doing or not doing right? As my user name would suggest i am a rookie at VBA and the more complex sides of excel so i will be gratful for any help i get!

  6. #6
    Neophyte psawyer's Avatar
    Join Date
    Feb 2012
    Location
    Berlin, Germany
    Posts
    3
    Articles
    0

    PickDateForm.xls, an alternative to Control Calendar

    There is a latest version of PickDateForm.xls, an alternative to Control Calendar (Pick Date Form). Google it!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •