+ Reply to Thread
Results 1 to 6 of 6

Arrays and listbox

  1. #1
    Registered User
    Join Date
    01-12-2011
    Location
    London, England
    MS-Off Ver
    Excel 2003
    Posts
    17

    Arrays and listbox

    Hi,

    Would be grateful if someone could help me.

    I have a spreadsheet with 5 columns and lots of rows... (15622)

    I have built a userform which filters the spreadsheet based on the criteria set.

    I have a listbox in the form which I want to update when using the filters in the form.

    I understand I have to set an array, never done that before and only been using vba for a week, so if someone can help me that would be great...

    I have started with the following :

    Please Login or Register  to view this content.
    That is probably wrong!!

  2. #2
    Registered User
    Join Date
    12-27-2010
    Location
    Bolivia
    MS-Off Ver
    Excel 2007
    Posts
    16

    Re: Arrays and listbox

    Try something like this:

    Please Login or Register  to view this content.
    selopezr

  3. #3
    Registered User
    Join Date
    01-12-2011
    Location
    London, England
    MS-Off Ver
    Excel 2003
    Posts
    17

    Re: Arrays and listbox

    Thanks for replying...but am a little unclear on this...what is p?

    and is this an array?

  4. #4
    Registered User
    Join Date
    01-12-2011
    Location
    London, England
    MS-Off Ver
    Excel 2003
    Posts
    17

    Re: Arrays and listbox

    just want to make sure this isnt missed, would appreciate if anyone can assist! BUMP!

  5. #5
    Registered User
    Join Date
    01-12-2011
    Location
    London, England
    MS-Off Ver
    Excel 2003
    Posts
    17

    Smile Re: Arrays and listbox

    Quote Originally Posted by daz_2000 View Post
    just want to make sure this isnt missed, would appreciate if anyone can assist! BUMP!

    This is Bump numero 2!

  6. #6
    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: Arrays and listbox

    Hello daz_2000,

    To avoid confusion and get answers quickly, you should post your workbook. If you workbook is large, you should zip it beforehand.
    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!)

+ 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