Application.ActivePrinter Macro

L

Larry

I have two printers connected to my computer. The default printer is a
network printer, the other is named "HP PhotoSmart P1100 Series". I need
help on the syntax in this macro to tell the computer to print the worksheet
"Winner Poster" on the HP PhotoSmart P1100 Series.

Application.EnableEvents = True
Application.Calculate

If MsgBox("Do you want to Preview prior to printing?", vbYesNo) = vbYes Then
Worksheets("Winner Poster").PrintPreview
Else

Worksheets("Winner Poster").PrintOut
End If

End Sub

Bernie was kind enough to help me get this far. The syntax above causes the
worksheet to print out on the default network printer (wrong printer). I
would appreciate any advice you may have to offer.

Larry
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top