Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default save worksheet with chinese characters as text

I use a data table in a worksheet in combination with VBA to generate
XML configuration files. Using VBA, I format the XML in a temp
workbook and then save the temp workbook as XML using the following:
ActiveWorkbook.SaveAs Filename:=thedir + thefile,
FileFormat:=xlTextPrinter, CreateBackup:=False

This has worked perfect for English, French, etc. However, it does not
work for Chinese Mandarin or other character-based languages. When I
save using FileFormat:=xlTextPrinter, I get ? for the characters. I've
tried several other file formats. xlTextPrinter is the only file
format that gives me a clean/correct XML file.

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Chinese Characters ! John New Users to Excel 0 March 9th 07 11:24 PM
Chinese characters - UTF8 CSV files [email protected] Excel Programming 8 August 24th 06 04:46 PM
Exporting to CSV file with Chinese Characters in Spreadsheet Just Me Excel Discussion (Misc queries) 1 August 17th 05 11:37 AM
BUTTON CAPTION CHINESE CHARACTERS Souris Excel Programming 0 August 17th 05 03:46 AM
Chinese characters lazyboy Excel Discussion (Misc queries) 0 March 15th 05 04:19 AM


All times are GMT +1. The time now is 07:49 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"