+ Reply to Thread
Results 1 to 3 of 3

Propagation of ListFillRange property

  1. #1
    Registered User
    Join Date
    05-07-2014
    Location
    USA
    MS-Off Ver
    Excel 2010
    Posts
    5

    Question Propagation of ListFillRange property

    PROBLEM:
    I'm trying to utilize VBA (Excel 10) to propagate "ListFillRange" properties

    SETUP:
    The are two columns, labeled: "Select JOB#" & "Select DRAWING#"
    Each column contains (23) ActiveX Combo Boxes
    Each "Select JOB#" Combo Box [perfectly] lists current jobs
    Each "Select DRAWING#" Combo Box perfectly lists (+/- 200) pertinent drawings ONLY when I MANUALLY fill in the "ListFillRange" property

    However, I would like to fill in the "ListFillRange" property based on the "Select JOB#" selection.

    Below is typical VBA coding that I have tried:

    Please Login or Register  to view this content.
    Even by entering a named range, "MDL_1" (Current try), the "Select DRAWING#" combo box displays only "MDL_1" (or "$AV$1000:$AY$1700",or "$R$16:$R$16") instead of a list of (200) drawings.

    How can I get the respective list of drawings to display in the respective Combo box?

    (I just clicked the ListedDwg1 Combo box & all it shows is "MDL_1" with no additional drawing numbers)

    Thank you for your assistance !!!
    Last edited by JBeaucaire; 05-08-2014 at 06:11 PM. Reason: Added missing CODE tags. Please read and follow the Forum Rules, link above in the menu bar. Thanks.

  2. #2
    Forum Expert
    Join Date
    07-31-2010
    Location
    California
    MS-Off Ver
    Excel 2007
    Posts
    4,070

    Re: Propagation of ListFillRange property

    You stated you are using an ActiveX combo box but you are trying to access it like a Form Control combo box. OLEObjects is the collection of the ActiveX objects in a worksheet. Also note how I referred to the named range.

    Please Login or Register  to view this content.

  3. #3
    Registered User
    Join Date
    05-07-2014
    Location
    USA
    MS-Off Ver
    Excel 2010
    Posts
    5

    Re: Propagation of ListFillRange property

    stnkynts,

    Tks for the super fast response !!!
    Unfortunately, I am new to VBA & do not understand your awesome coding :-(

    I copied the code to my spreadsheet, ran (F8) then (F5) the code (watching the expression: "myBox.AddItem (rCell.Value)"); however, I could not "see" any change in MDL_1 or "Value" on Watch screen ...

    The ActiveX Combobox works perfectly when I manually enter "MDL_1" (no quotes) into the ListFillRange ...
    I just don't understand why it won't do the same when I try to utilize VBA coding)

    Again, TKS for your kind response

+ 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. "ActiveX" ListBox-> ListFillRange property
    By hansaaa in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 05-21-2013, 10:00 AM
  2. Auto Update of 'ListFillRange' property & Creation of textboxes at Click Event of a button
    By rahul.kamat01 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 04-24-2013, 06:32 AM
  3. ListBox ListFillRange / Could Not Set ListCursor Property
    By RaPsCaLLioN in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 09-14-2011, 02:39 AM
  4. data propagation
    By HelenT in forum Excel General
    Replies: 0
    Last Post: 03-22-2005, 12:34 PM
  5. Combo Box ListFillRange Property - Non Adjacent Cells
    By Tony_VBACoder in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 01-27-2005, 12: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