ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Print multiple sheets (https://www.excelbanter.com/excel-programming/378086-print-multiple-sheets.html)

RI

Print multiple sheets
 
Hi,

I am trying to print multiple worksheets from a VBA-macro:
Application.Worksheets(Sheets).Select
Application.Dialogs(xlDialogPrint).Show

In the printer dialog, we select a tray from the printer. The problem is
that only the first sheet is printing from the selected tray. The other
worksheets are using the default printersettings, the wrong tray ;-(

Does anyone know a solution?

Thanx
R.I.





All times are GMT +1. The time now is 02:23 PM.

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