i have a userform that has a section to select one or more text files to be analyzed using a listbox. on the same userform, the user can select a number of checkboxes. these checkboxes are connected to operations that can be performed on the text files.
so if you select 2 text files and a few of the checkboxes, the first text file is opened and analyzed, then the second file is opened and analyzed. this is done using a for loop
i am now attempting to incorporate a text file splitter into my program (in case the text file is over 32000 rows - the max for graphing). after the file is split into 2 separate workbooks, the second half is closed, and the first half is analyzed. then i need the second half to be opened again and analyzed.
i can get the first half to be analyzed, but once that is done i need to open the second half and go back to a certain point in the for loop and continue the analysis from there before i move onto the next text file in my listbox. hope this makes sense.
thanks for the responses