I am populating two listboxes with data from a spreadsheet where the data is in a spilled/dynamic array
Both ranges are on the same worksheet and accessed in the same subroutine in the same module.
Each range is a single column of data.
Both formulae are of the form =SORT(...) and both work in the worksheet; neither contains errors
Both spilled ranges are between 2 and 20 items in length.
Both listboxes are on the same form.
The first of those works and populates the first list box. The second fails with a "Run-time error '381': Could not set the List property. Invalid property index".
Why should the first be valid and the second not?
Have I got the code wrong (I couldn't find any examples on the web) ?
Really puzzled
M
Bookmarks