Share via


Workbook.PrintPreview Method

Shows a preview of the object as it would look when printed.

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

Syntax

'Declaration
Sub PrintPreview ( _
    EnableChanges As Object _
)
void PrintPreview(
    Object EnableChanges
)

Parameters

  • EnableChanges
    Type: System.Object
    true to allow changes to the margins and page setup while displaying the print preview; otherwise, false.

Remarks

Optional Parameters

For information on optional parameters, see Optional Parameters in Office Solutions.

.NET Framework Security

See Also

Reference

Workbook Interface

Microsoft.Office.Tools.Excel Namespace