_Application.EnableLivePreview Property

Sets or returns a Boolean that represents whether to show or hide gallery previews that appear when using galleries that support previewing. Setting this property to True shows a preview of your workbook before applying the command. Read/write.

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

Syntax

'Declaration
Property EnableLivePreview As Boolean
    Get
    Set
'Usage
Dim instance As _Application
Dim value As Boolean

value = instance.EnableLivePreview

instance.EnableLivePreview = value
bool EnableLivePreview { get; set; }

Property Value

Type: System.Boolean
Boolean

Remarks

This property corresponds to the Enable Live Preview check box in the Excel Options dialog box.

See Also

Reference

_Application Interface

_Application Members

Microsoft.Office.Interop.Excel Namespace