Thanks to all who offered their assistance. The problem was in fact Norton AntiVirus script blocking technology which results failure of the CreateTextFile (amongst others) method. Disabling script blocking results in it working perfectly. Thanks again. Regards Chris Marsh