Application.ActivePrinter Property (Excel)

Office 2013 and later

Contribute to this content

Use GitHub to suggest and submit changes. See our guidelines for contributing to VBA documentation.

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

expression .ActivePrinter

expression A variable that represents an Application object.

This example displays the name of the active printer.

MsgBox "The name of the active printer is " & _