You are welcome. I am glad it worked, because I didn't have time to test it:)
Einar
>>You should be able to replace your for each line with this:
>>
>>For Each loFile In loDirectory.GetFiles("*.html")
>>
>
>This works great. Thanks
Semper ubi sub ubi.