Excel 97 VBA - I have a macro that checks lines in a file for a specific character before loading the lines into a list box. When the list is more than 255 lines, the macro hangs (tested on two PCs - NT4 and Win98). I am using the follwing code to loop through the lines:
[tt]for i = 0 to listQuantity[/tt]
...do some stuff
[tt]next i[/tt]
I've tried using a do loop with the same result. Is there a maximum number of loops ? is there a work around ?
[tt]for i = 0 to listQuantity[/tt]
...do some stuff
[tt]next i[/tt]
I've tried using a do loop with the same result. Is there a maximum number of loops ? is there a work around ?