Thanks Koolsid. I tried this code, and it gets me close to the need. The remaining problem is that the .txt file seems to get loaded into a sheet of its own up front in the Excel file. What we very much want to do is to create the earlier sheets first (say 1,2,3) and then have the .txt file inserted into sheet 3 (say). Reason is that the program already has done a lot of work on sheet 1 and the .txt insertion into sheet 2 or 3 is by way of augmenting/complementing sheet 1. Until the work is done with sheet 1, it will not be known which .txt and which .jpg files need to be inserted into sheets 2 and 3.

Hoping that I have explained the need adequately, do you have a further suggestion? I think that your last code comes very close to doing what I wish.

camoore

Wales, UK