+ Reply to Thread
Results 1 to 8 of 8

limits of what you can and cannot fill a listfillrange with for ActiveX-Control Listbox

  1. #1
    Forum Contributor
    Join Date
    07-30-2013
    Location
    United States
    MS-Off Ver
    Excel 2007
    Posts
    476

    limits of what you can and cannot fill a listfillrange with for ActiveX-Control Listbox

    Hi,

    What are the limits of what you can and cannot fill a listfillrange with for ActiveX-Control:

    It seems like I can fill with = "Sheet1!A7:A78" OR = "=NamedRange"

    Can I not fill it with an array?

  2. #2
    Forum Guru HaHoBe's Avatar
    Join Date
    02-19-2005
    Location
    Hamburg, Germany
    MS-Off Ver
    work: 2016 on Win10 (notebook), private: 2019 on Win10 (desktop), 2019 on Win11 (notebook)
    Posts
    8,198

    Re: limits of what you can and cannot fill a listfillrange with for ActiveX-Control Listb

    Hi, cmore,

    maybe have a look at nilem´s exapmle posted here.

    Ciao,
    Holger
    Use Code-Tags for showing your code: [code] Your Code here [/code]
    Please mark your question Solved if there has been offered a solution that works fine for you

  3. #3
    Forum Contributor
    Join Date
    07-30-2013
    Location
    United States
    MS-Off Ver
    Excel 2007
    Posts
    476

    Re: limits of what you can and cannot fill a listfillrange with for ActiveX-Control Listb

    This is good, but I have a few other uses that I'll be needing so I think I'll have to use an array. For instance the range that I'm starting off with has its start and end determined based on selections of by the user. I can't fill the range with a named range function because the listbox selections will clear at calculate.

  4. #4
    Forum Contributor
    Join Date
    07-30-2013
    Location
    United States
    MS-Off Ver
    Excel 2007
    Posts
    476

    Re: limits of what you can and cannot fill a listfillrange with for ActiveX-Control Listb

    Can I really not fill a listbox from an array?

  5. #5
    Forum Guru Norie's Avatar
    Join Date
    02-02-2005
    Location
    Stirling, Scotland
    MS-Off Ver
    Microsoft Office 365
    Posts
    19,643

    Re: limits of what you can and cannot fill a listfillrange with for ActiveX-Control Listb

    Yes, but not using ListFillRange.
    If posting code please use code tags, see here.

  6. #6
    Forum Contributor
    Join Date
    07-30-2013
    Location
    United States
    MS-Off Ver
    Excel 2007
    Posts
    476

    Re: limits of what you can and cannot fill a listfillrange with for ActiveX-Control Listb

    Dagg,

    So if I fill with ListFillRange then anytime I calculate it will clear selections? Also, basically am I now basically confined to load array with AddItem and loop?

  7. #7
    Forum Guru Norie's Avatar
    Join Date
    02-02-2005
    Location
    Stirling, Scotland
    MS-Off Ver
    Microsoft Office 365
    Posts
    19,643

    Re: limits of what you can and cannot fill a listfillrange with for ActiveX-Control Listb

    Who mentioned AddItem?

    To populate with an array you can use List.

  8. #8
    Forum Contributor
    Join Date
    07-30-2013
    Location
    United States
    MS-Off Ver
    Excel 2007
    Posts
    476

    Re: limits of what you can and cannot fill a listfillrange with for ActiveX-Control Listb

    Thanks! Ok so I'm using List, which I cannot believe I'm just now finding. 2 questions, this works with both listbox and combobox right?

    Now I have another problem; but I think i need to mark this solved

  9. #9
    Forum Contributor
    Join Date
    07-30-2013
    Location
    United States
    MS-Off Ver
    Excel 2007
    Posts
    476

    Re: limits of what you can and cannot fill a listfillrange with for ActiveX-Control Listb

    Dagg,

    So quick question, what's the limits of using List? I can load an array to it, but it doesn't seem to take a few inputs

    i.e. cells(row, column)...............
    or [Named Range Array Operation]

+ 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. [SOLVED] Not able to populate ActiveX Combobox control, listfillrange with rowlist
    By SAGAR KHOLLAM in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 12-10-2012, 03:54 AM
  3. Display selected entries from an ActiveX Control Listbox
    By ColleenL in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 03-10-2009, 04:16 PM
  4. Help with activex listbox control
    By programmer123 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-02-2005, 04:05 PM
  5. [SOLVED] ActiveX Listbox Control
    By TrendyProgrammer in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-02-2005, 04:05 PM

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