PDA

View Full Version : [SOLVED:] Display Print Dialog with "Selection" as Default



BrI
09-12-2017, 09:09 AM
I want to display the print dialog box with "Selection" pre-selected as the default under "Print what". Want to give users the option of selecting a printer without also having to choose "selection".



ws.Range("C71:F95").Select

Application.Dialogs(xlDialogPrint).Show  'Displays the print dialog - but how to set default to "Selection"?


Any help appreciated.

austenr
09-12-2017, 09:26 AM
try:

Application.Dialogs(xlDialogPrinterSetup).Show

BrI
09-12-2017, 09:33 AM
That lets me choose a printer, but doesn't integrate the selection

Aflatoon
09-12-2017, 10:21 AM
You can use this:


Application.Dialogs(xlDialogPrint).Show , , , , , , , , , , , 1

BrI
09-12-2017, 10:44 AM
That's just awesome - thank you!