+ Reply to Thread
Results 1 to 12 of 12

Date picker without using addins and active control in forms

  1. #1
    Forum Contributor
    Join Date
    08-18-2018
    Location
    Canada
    MS-Off Ver
    365
    Posts
    151

    Date picker without using addins and active control in forms

    Is there a way on how to create date picker without using addins and active control in forms?

    Is it possible to create using data validation but in calendar format and not like list of dates?

    Also if there is a vba codes just like a calendar? Tia.

  2. #2
    Forum Expert Mumps1's Avatar
    Join Date
    10-10-2012
    Location
    Toronto, Canada
    MS-Off Ver
    Excel 2010, 2013
    Posts
    7,833

    Re: Date picker without using addins and active control in forms

    Try the attached file. When you click an any cell in column A, a calendar will pop up so you can choose a date which will be placed in the selected cell. If you right click on the tab name and click "View Code", you can change the target range to suit your needs.
    Attached Files Attached Files
    You can say "THANK YOU" for help received by clicking the Star symbol at the bottom left of the helper's post.
    Practice makes perfect. I'm very far from perfect so I'm still practising.

  3. #3
    Forum Contributor
    Join Date
    08-18-2018
    Location
    Canada
    MS-Off Ver
    365
    Posts
    151

    Re: Date picker without using addins and active control in forms

    Thank you very much for this calendar control. Is there any tutorial on how to build that form?

  4. #4
    Forum Expert Mumps1's Avatar
    Join Date
    10-10-2012
    Location
    Toronto, Canada
    MS-Off Ver
    Excel 2010, 2013
    Posts
    7,833

    Re: Date picker without using addins and active control in forms

    You are very welcome. To be honest, I didn't write that code. I found it after doing a search years ago and I can't even remember where I found it so I could give the author credit.

  5. #5
    Forum Expert torachan's Avatar
    Join Date
    12-27-2012
    Location
    market harborough, england
    MS-Off Ver
    Excel 2010
    Posts
    4,307

    Re: Date picker without using addins and active control in forms

    Always good to see code developed.
    However why not use tools at your disposal.
    MonthView or DTPicker usually work well if installed properly.
    One or other of the attached will always work.
    Click in range A2:A100, both have minimal coding requirements.
    torachan.
    Attached Files Attached Files

  6. #6
    Forum Contributor
    Join Date
    08-18-2018
    Location
    Canada
    MS-Off Ver
    365
    Posts
    151

    Re: Date picker without using addins and active control in forms

    Thank you for this, but my excel doesn't have date picker. Microsoft windows common control and windows monthview control in references and additional control is grayed out.

  7. #7
    Forum Expert torachan's Avatar
    Join Date
    12-27-2012
    Location
    market harborough, england
    MS-Off Ver
    Excel 2010
    Posts
    4,307

    Re: Date picker without using addins and active control in forms

    is your problem the same as the OP ?


  8. #8
    Forum Contributor
    Join Date
    08-18-2018
    Location
    Canada
    MS-Off Ver
    365
    Posts
    151

    Re: Date picker without using addins and active control in forms

    Yes! Thank you for the link.

  9. #9
    Registered User
    Join Date
    04-22-2022
    Location
    United States
    MS-Off Ver
    32 bit Office 10
    Posts
    12

    Re: Date picker without using addins and active control in forms

    Hi. I just came across your post and I believe it's the solution I am looking for however I am not real familiar with VBA and am unsure how to get into my workbook. I see there are 2 modules with script I'm assuming I need them both for it to work?

    Thank you.

  10. #10
    Forum Expert Mumps1's Avatar
    Join Date
    10-10-2012
    Location
    Toronto, Canada
    MS-Off Ver
    Excel 2010, 2013
    Posts
    7,833

    Re: Date picker without using addins and active control in forms

    If you are referring to the file I attached in Post #2, the file includes a userform that would have to be copied into your workbook and also a macro in the worksheet code module for Sheet1 which would have to be copied into the worksheet code module in your workbook. The macro is designed to bring up the calendar when you click on any cell in column A. This can be changed to any column or range.

  11. #11
    Forum Expert torachan's Avatar
    Join Date
    12-27-2012
    Location
    market harborough, england
    MS-Off Ver
    Excel 2010
    Posts
    4,307

    Re: Date picker without using addins and active control in forms

    Hi VikkiD, look back at your previous posting,

    Torachan,

    Mission statement; Promote the use of Tables, Outlaw the use of 'merged cells' and 'RowSource'.

  12. #12
    Registered User
    Join Date
    04-22-2022
    Location
    United States
    MS-Off Ver
    32 bit Office 10
    Posts
    12

    Re: Date picker without using addins and active control in forms

    Yes- thank you. I am getting assistance- wasn't sure if that thread was still being followed.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] MS Date and Time Picker Control 6.0 (SP4)
    By Reemet in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-10-2014, 02:44 AM
  2. [SOLVED] Date Picker Control - why won't it collapse?
    By TheLittlePrince in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 09-10-2013, 12:26 PM
  3. Date and Time Picker Control 6.0 (SP6)
    By jj554 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 01-18-2013, 08:47 PM
  4. Date Picker Control
    By SP Brian in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 05-07-2012, 02:43 AM
  5. Date picker control query
    By JEB in forum Excel General
    Replies: 4
    Last Post: 07-17-2007, 10:23 AM
  6. Defaulting MS Date Picker control value
    By matpj in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-09-2006, 10:52 AM
  7. date and time picker control
    By Ashku in forum Excel General
    Replies: 0
    Last Post: 07-22-2006, 06:25 AM
  8. Custom Date Picker Control
    By Lucas Swanson in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 04-21-2006, 12:10 PM

Bookmarks

Posting Permissions

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

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1