Document.ConvertVietDoc method (Word)

Reconverts a Vietnamese document to Unicode using a code page other than the default.

Syntax

expression. ConvertVietDoc( _CodePageOrigin_ )

expression Required. A variable that represents a Document object.

Parameters

Name Required/Optional Data type Description
CodePageOrigin Required Long The original code page used to encode the document.

Remarks

Use the ConvertVietDoc method if you want a document to be viewable on another computer or platform.

Example

This example converts the active document from the Vietnamese ABC code page to Unicode. This example assumes that the active document is encoded using the Vietnamese ABC code page.

Sub ConvertToVietCodePage() 
 ActiveDocument.ConvertVietDoc CodePageOrigin:=5 
End Sub

See also

Document Object

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.