I have a listbox on my form with a list of 200 or so HTML files. I have another list of 600 images. How can I select the first HTML file in the 1st list, and add 3 images from the 2nd list to it, and then move on to the next HTML file / next 3 images?. Heres an example..

on all 200 HTML files, they are listed
test1.html
test2.html
test3.html,etc, etc
On all of the HTML files, there are 3 codes: "IMAGE ONE", "IMAGE TWO" and "IMAGE THREE". What I need the program to do is search for IMAGE ONE, TWO and THREE, and replace that with the 3 images, and move on to the next HTML file. please help me.. ive been stumped all day lol