Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 397
Default Printing and Page numbers


Howdie,

The Macro below prints all sheets in my workbook (except for contents)I
want the pages to number consecutively, (some sheets print over two
pages) is there an easy way to achieve...

Thanks

Sub PrintVisibleSheets_2()
Dim ws As Worksheet
For Each ws In ActiveWorkbook.Worksheets
If ws.Visible Then
If ws.Name < "Contents" Then
ws.PrintOut Copies:=1, Collate:=True
End If
End If
Next
End Sub



*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 595
Default Printing and Page numbers

Darin

I think if you print the sheets as one print job rather than separate print
jobs, they will number consecutively. See if this post helps

http://www.dicks-blog.com/archives/2...ltiple-sheets/

--
Dick Kusleika
Excel MVP
Daily Dose of Excel
www.dicks-blog.com

Darin Kramer wrote:
Howdie,

The Macro below prints all sheets in my workbook (except for
contents)I want the pages to number consecutively, (some sheets print
over two pages) is there an easy way to achieve...

Thanks

Sub PrintVisibleSheets_2()
Dim ws As Worksheet
For Each ws In ActiveWorkbook.Worksheets
If ws.Visible Then
If ws.Name < "Contents" Then
ws.PrintOut Copies:=1, Collate:=True
End If
End If
Next
End Sub



*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!



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
Printing sheets with page numbers mishka Excel Discussion (Misc queries) 0 March 6th 09 12:50 AM
Printing page numbers Jeff Excel Discussion (Misc queries) 1 November 26th 08 08:21 PM
printing same excel sheet with page numbers PMC New Users to Excel 1 April 19th 07 03:34 PM
Printing documents with page numbers Craig Perkins Excel Discussion (Misc queries) 1 April 6th 07 10:46 PM
printing page numbers richard bishop Excel Programming 2 October 20th 04 04:50 PM


All times are GMT +1. The time now is 06:26 AM.

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

About Us

"It's about Microsoft Excel"