Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Writing to UNICODE text files from Excel VBA

Status
Not open for further replies.

phudgens

Technical User
Jul 8, 2004
117
US
I'm writing data to text files from within Excel 2007 VBA that sometimes includes special characters. In the resulting file, which is being saved as a txt file, the special characters are being converted to ASCII characters. I have to go in and manually change the characters back and save the file as a UNICODE txt file. I'm using the Freefile and Print commands to create my files. Does anyone know of a way to save the file as a UNICODE file from within VBA?

Thanks for any help,
Paul Hudgens
Denver
 
I'd use the Scripting.FileSystemObject

Hope This Helps, PH.
FAQ219-2884
FAQ181-2886
 
Thanks very much - fso worked.

Paul Hudgens
Denver
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top