PrintPreview Method

Applies To

Chart Object, Charts Collection, DialogSheet Object, DialogSheets Collection, Range Object, Sheets Collection, Window Object, Workbook Object, Worksheet Object, Worksheets Collection.

Description

Shows a preview of the object as it would be printed.

Syntax

object.PrintPreview

object

Required. The object to preview.

See Also

PrintOut Method.

Example

This example displays a print preview of Sheet1.


Worksheets("Sheet1").PrintPreview