Hi Ross

the text file was bought back as a result of the filesearch as object "ts" and as I read back through my own code I notice with some embarrassment that the line[VBA]Set ts = Nothing[/VBA] is conspicuous by it's absence. No great disaster since when the routine ends, the reference would be released anyway, but if you want to kill the file, you'll have to set that reference to nothing first.