Computing.Net > Forums > Office Software > printing excel workbook

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

printing excel workbook

Reply to Message Icon

Name: alitwin
Date: March 5, 2009 at 06:52:31 Pacific
OS: Windows XP
Subcategory: Microsoft Office
Comment:

I have an excel 2007 workbook which contains 22 worksheets. When I use the print option to print entire workbook, it prints all of the worksheets but not in the order that they are laid out on the tabs across the bottom of the workbook. How do I change the print order of the worksheets if their tabs are already in the order I want them to be printed?

thanks!



Sponsored Link
Ads by Google

Response Number 1
Name: DerbyDad03
Date: March 5, 2009 at 07:56:06 Pacific
Reply:

If you put this code in the ThisWorkbook module of the VBA editor it will print your sheets in order.

Private Sub Workbook_BeforePrint(Cancel As Boolean)
 For Sht = 1 To Sheets.Count
  Sheets(Sht).PrintOut
 Next
End Sub


0

Response Number 2
Name: alitwin
Date: March 5, 2009 at 08:15:39 Pacific
Reply:

Thanks so much for your response! Now I don't have to sit and re-order my workbook pages after printing them.


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Office Software Forum Home


Sponsored links

Ads by Google


Results for: printing excel workbook

Linking to unopened excel workbook www.computing.net/answers/office/linking-to-unopened-excel-workbook/9704.html

Excel workbook wont come to front www.computing.net/answers/office/excel-workbook-wont-come-to-front/7315.html

Excel not printing in correct order www.computing.net/answers/office/excel-not-printing-in-correct-order/4174.html