+ Reply to Thread
Results 1 to 4 of 4

Pass Date value from custom calendar control to Userform Combo Box:

  1. #1
    Registered User
    Join Date
    11-29-2009
    Location
    dubai
    MS-Off Ver
    Excel 2003
    Posts
    56

    Pass Date value from custom calendar control to Userform Combo Box:

    Good Evening,


    File attached.

    In the attachment I have two user forms.

    UserForm1 has a combobox --> click on the dropdown arrow

    Userform - uf_Calendar will show.

    When I double click on the Date in the custom Calendar control, I want the date value passed on to the combobox in UserForm1.

    pls help

    thanks
    R
    Attached Files Attached Files
    Last edited by rvc81; 01-22-2013 at 04:36 PM.

  2. #2
    Forum Contributor thameem127's Avatar
    Join Date
    04-06-2012
    Location
    Jeddah,Saudi Arabia
    MS-Off Ver
    Excel 2003,Excel 2007
    Posts
    321

    Re: Pass Date value from custom calendar control to Userform Combo Box:

    Try textbox instead of combobox. See below code.

    Please Login or Register  to view this content.
    Last edited by thameem127; 01-22-2013 at 03:16 PM. Reason: code tag

  3. #3
    Registered User
    Join Date
    11-29-2009
    Location
    dubai
    MS-Off Ver
    Excel 2003
    Posts
    56

    Re: Pass Date value from custom calendar control to Userform Combo Box:

    Thanks Thameem,

    the code worked with the combo box as well. However I use the calendar control on many combo boxes (for Eg: DOB, Employment Start Date, employment end date, etc...) hence I would like to capture the 'date value' in a variable & then pass it on to relevant combo box..
    Last edited by rvc81; 01-23-2013 at 12:57 AM.

  4. #4
    Registered User
    Join Date
    11-29-2009
    Location
    dubai
    MS-Off Ver
    Excel 2003
    Posts
    56

    Re: Pass Date value from custom calendar control to Userform Combo Box:

    help please........

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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