Share via


WebOptions.Encoding Property

Returns or sets the document encoding (code page or character set) to be used by the Web browser when you view the saved document. The default is the system code page.

Namespace:  Microsoft.Office.Interop.Excel
Assembly:  Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)

Syntax

'Declaration
Property Encoding As MsoEncoding
    Get
    Set
'Usage
Dim instance As WebOptions
Dim value As MsoEncoding

value = instance.Encoding

instance.Encoding = value
MsoEncoding Encoding { get; set; }

Property Value

Type: Microsoft.Office.Core.MsoEncoding

Remarks

You cannot use any of the constants that have the suffix AutoDetect. These constants are used by the ReloadAs method.

See Also

Reference

WebOptions Interface

WebOptions Members

Microsoft.Office.Interop.Excel Namespace