ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   print dialog box with 2 copies as default? (https://www.excelbanter.com/excel-programming/331424-print-dialog-box-2-copies-default.html)

Johan

print dialog box with 2 copies as default?
 
I want the print dialog box to show with 2 copies as default.

this code doesn't work:
With Application.Dialogs(xlDialogPrint).copies = 2
..Show
End With

thanks

Robert Bruce[_2_]

print dialog box with 2 copies as default?
 
Roedd <<Johan wedi ysgrifennu:

this code doesn't work:
With Application.Dialogs(xlDialogPrint).copies = 2
.Show
End With


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

The arguments for built in dialogs are in the help file, but you have to
dig.

--
Rob

http://www.asta51.dsl.pipex.com/webcam/

This message is copyright Robert Bruce and intended
for distribution only via NNTP.
Dissemination via third party Web forums with the
exception of Google Groups and Microsoft Communities
is strictly prohibited and may result in legal action.




All times are GMT +1. The time now is 09:37 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com