Thanks for answering. What I mean is if I open a text file with the original program you did for me and then save it as an htm file the second program will open it.
An htm file that comes from a zipped file and saves as RAN24044.HTM wont open with the program.
it may be the type of file e.g. it shows as a firefox file in the folder. Will do some more work on this and maybe I can stumble on the answer.