+ Reply to Thread
Results 1 to 2 of 2

Error while populating an array from a listbox

  1. #1
    Registered User
    Join Date
    06-06-2006
    MS-Off Ver
    2010, 365
    Posts
    39

    Error while populating an array from a listbox

    Hi,

    I am making a macro wherein I have to pick items from a single-column listbox and add to an array to further display as a string. The problem I am facing is that when I press the button to display the string, error 381 is generated saying 'Could not get list property. Invalid property array index.' The code I am using is:

    Please Login or Register  to view this content.
    I don't know where I am going wrong. Please help.

    Peace,

    Shivboy

  2. #2
    Forum Expert
    Join Date
    01-15-2007
    Location
    Brisbane, Australia
    MS-Off Ver
    2007
    Posts
    6,591
    Hi

    A listbox index base starts at 0. Try (I didn't test)


    Please Login or Register  to view this content.

    rylo

+ 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