Export (0) Print
Expand All
Expand Minimize

Application.ActivePrinter Property

Office 2007
Returns or sets the name of the active printer. Read/write String.

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



Community Additions

ADD
Show:
© 2014 Microsoft