+ Reply to Thread
Results 1 to 4 of 4

Dependent Combobox on Form not updating from dynamic range

  1. #1
    Valued Forum Contributor ron2k_1's Avatar
    Join Date
    09-30-2009
    Location
    Not the USA
    MS-Off Ver
    Excel 2003, 2007
    Posts
    606

    Dependent Combobox on Form not updating from dynamic range

    Hi guys,

    I've been snooping around this site for a while and with good observation and your kind help I've been venturing into writing a bit of code myself.

    The attached is just the beginning, which are parameters needed to know the directory and file name of a text file I import into excel on a very regular basis.

    PROBLEM:
    The question is that combobox for day is dependent on year and day, which dynamically changes the worddays on named range DaysList. However, when I make changes to year and month, the name range changes but not the list on the combobox. I've been trying to update the list with different techniques, but not working yet.

    Don't pay attention to the code I have for the command button, that was just practice as this is my first time dealing with forms.

    Help please...
    Attached Files Attached Files
    Last edited by ron2k_1; 05-08-2011 at 01:27 PM.
    Ron
    Knowledge is knowing that a tomato and pepper are fruits. Wisdom is knowing whether to put these in a fruit salad

    Kindly

    [1] Use code tags. Place "[code]" before the first line of code and "[/code"]" after the last line of code. Exclude quotation marks
    [2] Mark your post [SOLVED] if it has been answered satisfactorily by editing your original post in advanced mode.
    [3] Thank (using the little scale) those that provided useful help; its nice and its very well appreciated

  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: Dependent Combobox on Form not updating from dynamic range

    Hello ron2k_1,

    Please check your Excel file before posting. There is an error in the posted file that crashes Excel when it starts. It may have become corrupt when uploaded or happen on your end. Either way, it the file needs your attention.
    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
    Valued Forum Contributor ron2k_1's Avatar
    Join Date
    09-30-2009
    Location
    Not the USA
    MS-Off Ver
    Excel 2003, 2007
    Posts
    606

    Re: Dependent Combobox on Form not updating from dynamic range

    Oh, really sorry for that. Hopefully I didn't messed up anyother important work you may had been working on.

    I open the file. And the only thing that I saw with errors was the the button to show the form. There is only my practice macro on the wb, so reassigning the macro to the button and saving the wb on the desktop did it for me.

    I'll appreciate it if you give it another shot... [Save all other excel work, just in case.... )
    Attached Files Attached Files
    Last edited by ron2k_1; 05-08-2011 at 12:05 PM.

  4. #4
    Valued Forum Contributor
    Join Date
    02-12-2011
    Location
    The Netherlands
    MS-Off Ver
    365
    Posts
    818

    Re: Dependent Combobox on Form not updating from dynamic range

    Try this one Ron.

    Please Login or Register  to view this content.
    Last edited by HSV; 05-08-2011 at 01:09 PM. Reason: color feature will not work
    Kind regards, Harry.

+ 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