#1   Report Post  
spartanmba
 
Posts: n/a
Default Printing Question

How do I print worksheet pages from various workbooks from one worksheet.
Either an Excel or VBA solution woudld be fine.

Thanks,
John
  #2   Report Post  
Nick Hodge
 
Posts: n/a
Default

John

In VBA you could open all the workbooks and then print them, this code opens
two and prints everything in each

Sub PrintOtherBooks()
Dim wb1 As Workbook, wb2 As Workbook
Set wb1 = Workbooks.Open("C:\Book1.xls")
wb1.PrintOut
wb1.Close SaveChanges:=False
Set wb1 = Nothing
Set wb2 = Workbooks.Open("C:\Book2.xls")
wb2.PrintOut
wb2.Close SaveChanges:=False
Set wb2 = Nothing
End Sub



--
HTH
Nick Hodge
Microsoft MVP - Excel
Southampton, England
HIS


"spartanmba" wrote in message
...
How do I print worksheet pages from various workbooks from one worksheet.
Either an Excel or VBA solution woudld be fine.

Thanks,
John



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
problem printing to PDF mark kubicki Excel Discussion (Misc queries) 1 January 21st 05 06:19 PM
Illegal operation error while printing EXCEL or WORD Files NathanRS Excel Discussion (Misc queries) 0 January 20th 05 02:23 PM
An easy macro question and one I believe to be a little more diffi TroutKing Excel Worksheet Functions 3 January 18th 05 09:17 PM
Excel 2002 Printing nannapat Excel Discussion (Misc queries) 1 January 18th 05 02:30 PM
Enable Double sided printing contiuously when printing multiple s. Lee Excel Discussion (Misc queries) 1 November 27th 04 01:58 AM


All times are GMT +1. The time now is 01:10 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"