Home |
Search |
Today's Posts |
|
#1
![]() |
|||
|
|||
![]()
Is there a way to write a macro to print multiple worksheets and have each
workbook stapled separately. I am new to this so please help. |
#2
![]() |
|||
|
|||
![]()
You could try something set up similar to that below. The first routine
(PrintMultipleWorkbooks) opens a workbook. It then calls on the second routine (Print_Sheets) to print it. Once printed, the first workbook is closed and the second workbook is opened. The same process repeats. Sub PrintMultipleWorkbooks() Application.ScreenUpdating = False Workbooks.Open Filename:="C:\WB_1.xls" Call Print_Sheets ActiveWorkbook.Close Workbooks.Open Filename:="C:\WB_2.xls" Call Print_Sheets ActiveWorkbook.Close Application.ScreenUpdating = True End Sub Sub Print_Sheets() Dim sht For Each sht In Sheets If sht.Visible Then sht.Select Replace:=False Next ActiveWindow.SelectedSheets.PrintOut copies:=1 ActiveSheet.Select End Sub ---- Regards, John Mansfield http://www.pdbook.com "masagua4u" wrote: Is there a way to write a macro to print multiple worksheets and have each workbook stapled separately. I am new to this so please help. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Printing multiple portait and landscape workbooks at the same time | Excel Discussion (Misc queries) | |||
Problems when printing large workbooks | Excel Discussion (Misc queries) | |||
adding certain cells in multiple worksheets in multiple workbooks | Excel Worksheet Functions | |||
Multiple worksheets, multiple workbooks | Excel Worksheet Functions | |||
Enable Double sided printing contiuously when printing multiple s. | Excel Discussion (Misc queries) |