LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 44
Default printing multiple sheets in one print job

I have a macro that prints several pivot items (about 75 in total) but I need
them to come out in a single print out. Could anyone shed me some light? This
is the code of my macro:

Thanks!

With ActiveSheet.PivotTables("PivotTable1")


For Each pvtItems In .PivotFields("ItemList").PivotItems
ItemCount = ItemCount + 1

ItemName = .PivotFields("ItemList").PivotItems(ItemCount).Nam e
.PivotFields("ItemList").CurrentPage = ItemName

ActiveWindow.SelectedSheets.PrintOut From:=1,
To:=Range("MaxPages").Value, Copies:=Range("MaxNoCopies").Value,
printtofile:=True, Collate:=True, PrToFileName:=ItemFileName

Next

End With

 
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
Almost there. Help printing multiple sheets as one print job.. Little Penny Excel Programming 1 August 24th 06 11:43 PM
Printing Multiple Sheets Little Penny Excel Programming 1 August 20th 06 12:42 PM
Need Help with printing multiple sheets Please Razzcul[_2_] Excel Programming 7 August 19th 06 07:13 PM
printing multiple print areas with a print dialog box LHaro Excel Programming 0 August 17th 05 09:56 PM
Printing non-adjacent areas on seperate sheets in one print job Dan Knight Excel Programming 0 January 7th 04 02:51 PM


All times are GMT +1. The time now is 08:18 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"