+ Reply to Thread
Results 1 to 3 of 3

How to auto hide - Date and time picker control 6.0

  1. #1
    Forum Contributor
    Join Date
    08-16-2009
    Location
    Sheffield
    MS-Off Ver
    Excel 2010
    Posts
    109

    How to auto hide - Date and time picker control 6.0

    Is there a way to auto hide ]Date and time picker control 6.0, so that the calender only appears when a cell is selected.

    I would like to have the option to click on a cell say A1 and many other selected cells and a calender then open up (with todays date) and allow me to select another date.

    I can get the calender to link to a cell but the calender is always stays visible in full month view, would like it to auto hide when moving away from cell A1 etc.

    Many thanks for any help.

  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: How to auto hide - Date and time picker control 6.0

    Hello ,

    To make this work, requires code be placed in each DTPicker_CloseUp() event and each worksheet's Worksheet_SelectionChange event that has one or more DTPickers. Here is the code.

    DTPicker CloseUp Event Code
    This code must be added to each DTPicker. Be sure to change the DTPicker name to match the new control when adding the code.
    Please Login or Register  to view this content.
    Worksheet Selection Change Event Code
    Please Login or Register  to view this content.
    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
    Forum Contributor
    Join Date
    08-16-2009
    Location
    Sheffield
    MS-Off Ver
    Excel 2010
    Posts
    109

    Re: How to auto hide - Date and time picker control 6.0

    Hello,

    Thanks for your reply, but on reflection and having had problems with date & time picker on other pc's with excel 2007, I believe that the Calender control 11.0 / 12.0 may be a better option.
    Could you offer any help on this function, where again i would like the calendar to appear when a cell is selected and disappear when a date is entered.

    Many Thanks

+ 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