Share via


DefaultWebOptions.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 DefaultWebOptions
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 MsoEncoding constants that have the suffix AutoDetect. These constants are used by the ReloadAs method.

See Also

Reference

DefaultWebOptions Interface

DefaultWebOptions Members

Microsoft.Office.Interop.Excel Namespace