This may be a difficult question to explain, but here it goes.
Using the example below.
Let's say that the file1_1.txt thru file1_4.txt are 10meg a piece. The file2_1.txt thru file2_4.txt are only 5meg a piece. All these files are in the same folder.
What code could be used that when a command button was clicked VB would scan the .txt files for the largest file size "sets" (e.g. file1_1 thru file1_4) and then return the appropriate set files (e.g file1_1.txt, file1_2.txt, file1_3.txt, file1_4.txt) associated with that particular "set" to a checked listbox?
I tried to explain the best I could.