ActivePrinter Property

Applies To

Application Object.

Description

Returns or sets the name of the active printer. Read-write. The name is a string.

Remarks

This property cannot be set on the Apple Macintosh.

Example

This example displays the name of the active printer.


MsgBox "The name of the active printer is " & Application.ActivePrinter