Matt,

I've hit another (minor) problem. Currently the program excerpt above will save a text file, to all intents and purposes identical to the original text file, but if it is sent in any format other than "Plain Text" it'll trip over in ProE.

The two files look identical, but one is using spaces with a Hex-Dec code of "20" and one is using spaces with a Hex-Dec code of "A0".

Any ideas on how to amend the function above so that it will save as a Text File from "Plain Text" (suspect the difference in spaces is due to the HTML or Rich Text being used)?

Cheers,

-Andy.