+ Reply to Thread
Results 1 to 19 of 19

Date picker within each cell?

  1. #1
    Registered User
    Join Date
    07-18-2015
    Location
    Australia
    MS-Off Ver
    14
    Posts
    20

    Date picker within each cell?

    Good afternoon all!

    I am trying to find a way to create a date picker to appear in a cell similar to a drop down list. I want to make it so each cell in the column has its own date picker to allow for employees to select varying dates easily. So far from looking around myself, I can only find a way to make a date picker that isnt within a cell and has to be linked for a date to appear. The downfall being that I would have to make a separate date picker and link to each and every cell.

    Does anyone know of any way to achieve this?

    Any help is greatly appreciated!

  2. #2
    Forum Expert MickG's Avatar
    Join Date
    11-23-2007
    Location
    Banbury,Oxfordshire
    Posts
    2,650

    Re: Date picker within each cell?

    Try this:-
    This code will give you a "Calendar" drop down list for any cell selected in column "A".
    The dates run from Today +-30 days.
    Please Login or Register  to view this content.

  3. #3
    Registered User
    Join Date
    07-18-2015
    Location
    Australia
    MS-Off Ver
    14
    Posts
    20

    Re: Date picker within each cell?

    Quote Originally Posted by MickG View Post
    Try this:-
    This code will give you a "Calendar" drop down list for any cell selected in column "A".
    The dates run from Today +-30 days.
    Please Login or Register  to view this content.
    Hi MikeG! Thanks you for your assistance! The code you provided works wonderfully with getting the picker to appear in each individual cell I need to change the method of input however. My apologies for not being clearer to begin with.

    I have attached an example of the style of date picker that I need to create. It is the picker that I was able to get from using the ActiveX input method, but I need an individual one for each cell in a certain range. I am needing this style due to the fact that some of the users have very minimal experience with excel and I am trying to make it as user friendly as possible, and because some of the dates that need to be entered can range a few years apart.

    How would I create one like that?

    33nw8xe.png

  4. #4
    Forum Expert jaslake's Avatar
    Join Date
    02-21-2009
    Location
    Atwood Lake in Mid NE Ohio...look it up.
    MS-Off Ver
    Excel 2010 2019
    Posts
    12,749

    Re: Date picker within each cell?

    Hi loccy

    Take a look at this link...if it works for you and you need help adapting let me know.

    http://www.excelforum.com/excel-prog...-calendar.html
    John

    If you have issues with Code I've provided, I appreciate your feedback.

    In the event Code provided resolves your issue, please mark your Thread as SOLVED.

    If you're satisfied by any members response to your issue please use the star icon at the lower left of their post.

  5. #5
    Registered User
    Join Date
    07-18-2015
    Location
    Australia
    MS-Off Ver
    14
    Posts
    20

    Re: Date picker within each cell?

    Quote Originally Posted by jaslake View Post
    Hi loccy

    Take a look at this link...if it works for you and you need help adapting let me know.

    http://www.excelforum.com/excel-prog...-calendar.html
    Nothing seems to happen in that workbook for me. There is code there, but I can't seem to make it have any effect?

  6. #6
    Forum Expert jaslake's Avatar
    Join Date
    02-21-2009
    Location
    Atwood Lake in Mid NE Ohio...look it up.
    MS-Off Ver
    Excel 2010 2019
    Posts
    12,749

    Re: Date picker within each cell?

    Hi loccy

    Open the Workbook in Post #2. Enable Macros. Click on any cell in Column A.

  7. #7
    Registered User
    Join Date
    07-18-2015
    Location
    Australia
    MS-Off Ver
    14
    Posts
    20

    Re: Date picker within each cell?

    Quote Originally Posted by jaslake View Post
    Hi loccy

    Open the Workbook in Post #2. Enable Macros. Click on any cell in Column A.
    I made sure I had macros enabled, but still no effect. When opening the code and clicking the play button I get the attached error.

    293k9cj.png

    From what I saw behind the error, I don't think it will meet what I've been requested to do.

    My boss says he needs it to behave like a drop down list would, but with a calendar in lieu of the list, if that helps to make it clearer. With the calender's GUI looking pretty much as an ActiveX control date picker would.

  8. #8
    Forum Expert jaslake's Avatar
    Join Date
    02-21-2009
    Location
    Atwood Lake in Mid NE Ohio...look it up.
    MS-Off Ver
    Excel 2010 2019
    Posts
    12,749

    Re: Date picker within each cell?

    Hi loccy

    Can't see png files...if you must attach pictures attach jpg.

    What does this mean...there is no "Play Button"?
    clicking the play button

  9. #9
    Registered User
    Join Date
    07-18-2015
    Location
    Australia
    MS-Off Ver
    14
    Posts
    20

    Re: Date picker within each cell?

    Quote Originally Posted by jaslake View Post
    Hi loccy

    Can't see png files...if you must attach pictures attach jpg.

    What does this mean...there is no "Play Button"?
    Sorry, should have been clearer. It was the 'Run Macro' button on the VBA window.

  10. #10
    Forum Expert jaslake's Avatar
    Join Date
    02-21-2009
    Location
    Atwood Lake in Mid NE Ohio...look it up.
    MS-Off Ver
    Excel 2010 2019
    Posts
    12,749

    Re: Date picker within each cell?

    Hi loccy

    Here's the File. Click on any cell in Column A...you'll get a Date Picker.
    Attached Files Attached Files

  11. #11
    Forum Expert jaslake's Avatar
    Join Date
    02-21-2009
    Location
    Atwood Lake in Mid NE Ohio...look it up.
    MS-Off Ver
    Excel 2010 2019
    Posts
    12,749

    Re: Date picker within each cell?

    Doesn't work that way. Select a Cell in Column A...it's Selection Change Code.

  12. #12
    Registered User
    Join Date
    07-18-2015
    Location
    Australia
    MS-Off Ver
    14
    Posts
    20

    Re: Date picker within each cell?

    Quote Originally Posted by jaslake View Post
    Hi loccy

    Here's the File. Click on any cell in Column A...you'll get a Date Picker.
    Ah working now

    Is there any way to make something like that drop down from a cell when its selected?

  13. #13
    Forum Expert jaslake's Avatar
    Join Date
    02-21-2009
    Location
    Atwood Lake in Mid NE Ohio...look it up.
    MS-Off Ver
    Excel 2010 2019
    Posts
    12,749

    Re: Date picker within each cell?

    Hi loccy

    Is there any way to make something like that drop down from a cell when its selected?
    I don't understand...this is exactly what it does. Please explain.

  14. #14
    Registered User
    Join Date
    07-18-2015
    Location
    Australia
    MS-Off Ver
    14
    Posts
    20

    Re: Date picker within each cell?

    This is how it is appearing when I use it;

    w9wnr6.jpg

    But this is what has been asked of me (they gave me this image when giving me the job);
    CalendarPopupCss.gif

    Is that something that can be created in excel, without too many complications? I can try to convince them that your method is fine

  15. #15
    Forum Expert jaslake's Avatar
    Join Date
    02-21-2009
    Location
    Atwood Lake in Mid NE Ohio...look it up.
    MS-Off Ver
    Excel 2010 2019
    Posts
    12,749

    Re: Date picker within each cell?

    Hi loccy

    Do you know where your "Image" came from? What's your actual Worksheet look like? Can you attach a sample file?

  16. #16
    Forum Contributor
    Join Date
    12-18-2013
    Location
    Kings Lynn, England
    MS-Off Ver
    Excel 2021
    Posts
    236

    Re: Date picker within each cell?

    Hi all,
    How can I get this to appear in multiple columns. For example, column two, and column 6?

    Thanks

  17. #17
    Forum Expert jaslake's Avatar
    Join Date
    02-21-2009
    Location
    Atwood Lake in Mid NE Ohio...look it up.
    MS-Off Ver
    Excel 2010 2019
    Posts
    12,749

    Re: Date picker within each cell?

    Hi Johnny247

    Unfortunately your post does not comply with Rule 2 of our Forum RULES.
    Do not post a question in the thread of another member -- start your own thread.
    If you feel an existing thread is particularly relevant to your need, provide a link to the other thread in your new thread.

    If you wish you may PM to me a Link to your new Thread.

  18. #18
    Forum Contributor
    Join Date
    11-28-2013
    Location
    Ljubljana
    MS-Off Ver
    Office 365
    Posts
    1,054

    Re: Date picker within each cell?

    Dear Jaslake
    i have one question
    i found this code in your post link
    HTML Code: 
    my question how can i make it suitable for multi column, suppose Column A, C , D, G, I, AF,AE ,AW and soon

  19. #19
    Forum Expert jaslake's Avatar
    Join Date
    02-21-2009
    Location
    Atwood Lake in Mid NE Ohio...look it up.
    MS-Off Ver
    Excel 2010 2019
    Posts
    12,749

    Re: Date picker within each cell?

    Hi manzan

    Unfortunately your post does not comply with Rule 2 of our Forum RULES.
    Do not post a question in the thread of another member -- start your own thread.
    If you feel an existing thread is particularly relevant to your need, provide a link to the other thread in your new thread.

    If you wish you may PM to me a Link to your new Thread.

+ 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. Date Picker 6.0 Linked Cell Formatting
    By jskip58 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 11-11-2015, 05:56 AM
  2. Replies: 0
    Last Post: 08-01-2015, 12:29 AM
  3. [SOLVED] Using date picker for specific cell
    By skhari in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-08-2015, 04:25 PM
  4. [SOLVED] Date Picker in UserForm will not add value to specified cell
    By clapforthewolfman in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 07-04-2013, 01:18 PM
  5. How to format a cell to date picker?
    By Driaan in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-16-2013, 06:25 AM
  6. Still need help: Selecting next cell with Date Picker
    By BuzzT in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 12-30-2010, 02:49 PM
  7. Creating a calendar in a cell for a date-picker
    By MarkieE in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 01-25-2005, 09:06 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