changing Print Preview default value

  • Thread starter Thread starter Giselle
  • Start date Start date
G

Giselle

hello to all

I have shown a code fragment that shows a report in Print preview mode.

With Worksheets("PrintRpts")
.PrintOut copies:=PrintNumber, preview:=PrntPrev
End With

My sub is used to show many such previews in sequence. Typically I give a
quick inspection, then Print the copy. The preview displays properly, but
the 'zoom' button is always highlighted by default. How can I use code to
have the 'Print...' button highlighted by default.

Giselle
 
Hi Giselle,

Try:

With Worksheets("PrintRpts")
SendKeys "{TAB}"
.PrintOut copies:=PrintNumber, preview:=PrntPrev
End With
 

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

Back
Top