+ Reply to Thread
Results 1 to 10 of 10

Excel 2010 - Date Picker

  1. #1
    Registered User
    Join Date
    08-11-2011
    Location
    Phoenix, AZ
    MS-Off Ver
    Excel 2007/ 2010
    Posts
    72

    Excel 2010 - Date Picker

    I needed to find a way to have employees select a "Start Date" in the worksheet. I've inserted a "Date Picker" (listed as SEP Date Control in the More Controls area).

    I am able to select the date when I use the form. Then I save it and close it. When I re-open the form, it doesn't save the date.

    How can I allow people to choose the date, and have it populate and remain in the field?

    Thanks,

  2. #2
    Forum Moderator Leith Ross's Avatar
    Join Date
    01-15-2005
    Location
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010
    Posts
    23,258

    Re: Excel 2010 - Date Picker

    Hello jpcsolutions,

    To get an answer to your question, you should post your workbook. It will save a lot of time and insure the solution works.
    Sincerely,
    Leith Ross

    Remember To Do the Following....

    1. Use code tags. Place [CODE] before the first line of code and [/CODE] after the last line of code.
    2. Thank those who have helped you by clicking the Star below the post.
    3. Please mark your post [SOLVED] if it has been answered satisfactorily.


    Old Scottish Proverb...
    Luathaid gu deanamh maille! (Rushing causes delays!)

  3. #3
    Registered User
    Join Date
    08-11-2011
    Location
    Phoenix, AZ
    MS-Off Ver
    Excel 2007/ 2010
    Posts
    72

    Re: Excel 2010 - Date Picker

    Hi Leith,

    Thanks for that advice. I've posted the workbook (see attached). I've also just noticed that not only is the date reset in the Date Picker, but it resets to whatever today's date is.

    Thanks again!

    -Jared
    Attached Files Attached Files

  4. #4
    Forum Moderator Leith Ross's Avatar
    Join Date
    01-15-2005
    Location
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010
    Posts
    23,258

    Re: Excel 2010 - Date Picker

    Hello Jared,

    It looks like you want the user to pick a date and then save the date to the cell in column "E" (Class Start Date). Is that correct?

  5. #5
    Registered User
    Join Date
    08-11-2011
    Location
    Phoenix, AZ
    MS-Off Ver
    Excel 2007/ 2010
    Posts
    72

    Re: Excel 2010 - Date Picker

    Yes, sir. That's exactly what I'm trying to do. Not sure if the Date Picker is the best way to do that though... Thoughts?

  6. #6
    Forum Moderator Leith Ross's Avatar
    Join Date
    01-15-2005
    Location
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010
    Posts
    23,258

    Re: Excel 2010 - Date Picker

    Hello jpcsolutions,

    You can use only one Date Picker to this. By using the Worksheet_SelectionChange event, you can detect if the user is in the "Class Start Date" column. The picker can then be positioned in the cell and made visible. Once the user makes the selection the date can be stored in the cell. The macro can also check if there is a date in the cell and set the picker control to that date before becoming visible.

  7. #7
    Registered User
    Join Date
    07-18-2012
    Location
    mumbai
    MS-Off Ver
    Excel 2007
    Posts
    1

    Re: Excel 2010 - Date Picker

    Dear Leith

    Can you help me out if i have a SEP date control at sheet 1 cell "C6" and i want to capture whatever date selected in the form in sheet 2 cell "C6" what is the best way to do without coding. And if coding is required what will be the code. Request you if possible also attach the excel file the same with your explanation.

    Thanks in advance

  8. #8
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,166

    Re: Excel 2010 - Date Picker

    Callsjs,

    Welcome to the Forum, unfortunately:

    Your post does not comply with Rule 2 of our Forum RULES. Don't post a question in the thread of another member -- start your own thread. If you feel it's particularly relevant, provide a link to the other thread. It makes sense to have a new thread for your question because a thread with numerous replies can be off putting & difficult to pick out relevant replies.
    If I have helped, Don't forget to add to my reputation (click on the star below the post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)
    Use code tags when posting your VBA code: [code] Your code here [/code]

  9. #9
    Registered User
    Join Date
    12-03-2013
    Location
    Taipei
    MS-Off Ver
    Excel 2010
    Posts
    1

    Re: Excel 2010 - Date Picker

    Quote Originally Posted by Leith Ross View Post
    Once the user makes the selection the date can be stored in the cell.
    Hello Leith,

    Would you please tell me -- HOW to stored the date in the cell?

    Thanks a lot.

  10. #10
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,166

    Re: Excel 2010 - Date Picker

    Boon,

    Please check post 8.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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