Hi guy,
I have tried it, but it seems that it doesn't work... "Encoding" parameter only for saving text files.
see below content from MSDN:
expression.SaveAs(FileName, FileFormat, LockComments, Password, AddToRecentFiles, WritePassword, ReadOnlyRecommended, EmbedTrueTypeFonts, SaveNativePictureFormat, SaveFormsData, SaveAsAOCELetter, Encoding, InsertLineBreaks, AllowSubstitutions, LineEnding, AddBiDiMarks)
Encoding Optional MsoEncoding. The code page, or character set, to use for documents saved as encoded text files. The default is the system code page.
Quote:
quote:Originally posted by Greg Griffiths
The SAVEAS method has a parameter for the code page that you want to use.
|