Name

range.PrintOut([From], [To], [Copies], [Preview], [ActivePrinter], [PrintToFile], [Collate], [PrToFileName])

Synopsis

Prints the specified range.

Argument

Settings

From

The number of the first page to print.

To

The number of the last page to print.

Copies

The number of copies to print.

Preview

True to display Print Preview.

ActivePrinter

The name of the active printer.

PrintToFile

True prints to a file.

Collate

True to collate multiple copies.

PrToFileName

If PrintToFile is True, specifies the name of a file to print to.

Get Programming Excel with VBA and .NET now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.