PrintPreview Method

Applies To

Chart object, Charts collection object, Range object, Sheets collection object, Window object, Workbook object, Worksheet object, Worksheets collection object.

Description

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

Syntax

expression.PrintPreview

expression Required. An expression that returns an object in the Applies To list.

See Also

PrintOut method.

Example

This example displays Sheet1 in print preview.

Worksheets("Sheet1").PrintPreview