![]() |
changing Print Preview default value
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 |
changing Print Preview default value
Hi Giselle,
Try: With Worksheets("PrintRpts") SendKeys "{TAB}" .PrintOut copies:=PrintNumber, preview:=PrntPrev End With --- Regards, Norman "Giselle" wrote in message ... 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 |
changing Print Preview default value
thankyou
anny "Norman Jones" wrote in message ... Hi Giselle, Try: With Worksheets("PrintRpts") SendKeys "{TAB}" .PrintOut copies:=PrintNumber, preview:=PrntPrev End With --- Regards, Norman |
All times are GMT +1. The time now is 06:23 AM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com