Hi Guys
I am getting the above error message at the below line marked red. When I debug then the error comes when value of K is 10.
Hope any of you can help me to figure it out.
Thanks![]()
Please Login or Register to view this content.
Hi Guys
I am getting the above error message at the below line marked red. When I debug then the error comes when value of K is 10.
Hope any of you can help me to figure it out.
Thanks![]()
Please Login or Register to view this content.
I don't see anything obvious but what are these values at the point where the error occurs:
ListBox1.ListCount
i
Can you attach your file?
Jeff
| | |·| |·| |·| |·| | |:| | |·| |·|
Read the rules
Use code tags to [code]enclose your code![/code]
1) you probably add too many rows to your listbox, because you .Additem k times (shall be only once by row)
2) may be as spoted above .ColumnCount would help. but ... see below:
3) I had similar problem some time ago, and as far as I remember with 11th column (k=10) too, and the cure was to load data into array and then assign the whole array to list at once, so something like:
![]()
Please Login or Register to view this content.
Best Regards,
Kaper
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks