Share via

Macro for default printer

Anonymous
2019-10-10T17:01:02+00:00

I asked this question earlier, but it's a simple problem so I'll leave out the context.

Is there a method to print straight to the default printer (with no print dialog boxes) no matter what printer is selected?

Any help would be appreciated.

Thank You

Microsoft 365 and Office | Excel | For home | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

4 answers

Sort by: Most helpful
  1. DaveM121 891K Reputation points Independent Advisor
    2019-10-10T17:09:38+00:00

    Hi Dana

    This macro should do that for you, the only time you should see a dialog is if a PDF printer is chosen and you need to provide a file name for the PDF . . .

    sub Print()

    activesheet.printout preview:= false

    end sub

    Was this answer helpful?

    1 person found this answer helpful.
    0 comments No comments
  2. Anonymous
    2019-10-14T16:40:23+00:00

    Sorry, I spoke too soon.  If I use this macro, it will print to the default printer, but If I change printers, it will not go back to the default printer.

    Was this answer helpful?

    0 comments No comments
  3. Anonymous
    2019-10-14T16:08:28+00:00

    Sorry, I spoke too soon.  If I use this macro, it will print to the default printer, but If I change printers, it will not go back to the default printer.

    Was this answer helpful?

    0 comments No comments
  4. Deleted

    This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.


    Comments have been turned off. Learn more