Syntax

expression.ActivePrinter

expression A variable that represents an Application object.

Example

This example displays the name of the active printer.

Visual Basic for Applications
MsgBox "The name of the active printer is " & _ Application.ActivePrinter
active printer Active Printer Property activeprinter ACTIVEPRINTER PROPERTY Name the printer currently on line? Return the name of the active printer? Set a new name for the printer currently active?

See also: