LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Junior Member
 
Posts: 6
Question Wonky printout when I print entire workbook

Hi guys,

So I'm having a strange printing problem in Excel 2007. You would think that printing the entire workbook would have the same result as printing each worksheet separately. But that does not seem to be the case here.

I have several sheets with charts and tables on them, and I'm trying to print a summary report of all the sheets.

I have print areas and settings set up, and also macros that set the footer on each page. (see below for details)

After running the macros, I try to print. In the print dialog, under "Print what" I choose "Entire workbook". The result is pages that look, for lack of a better word, wonky. The chart overlaps the text, the footer's not even there, it's a mess. It looks like this: http://excelbanter.com/attachment.ph...1&d=1343327582

Then, immediately after that, I print again, this time choosing "Active sheet(s)" under "Print what", so that it only prints one of the sheets. And the pages are totally fine! Here's the non-wonky version of the page: http://excelbanter.com/attachment.ph...1&d=1343327582

Do any of you know what I'm doing wrong? Does it have something to do with the macro?

The macro I'm using is just this line of code, to set the footer to the value of a cell on the sheet:
Code:
Worksheets("Success Rate").PageSetup.LeftFooter = Cells(1, 2).Value
(Cell(1,2), or B1, has the "1/2011 - 11/2012" in it.)

Also, please just ignore the fact that there's currently no data. It's linked to another file, and it works when that file is open.

Thanks!!

TL;DR Added a macro, now it prints funny when I print the entire workbook, even though printing each sheet separately works fine.
Attached Images
  
 
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
Print Entire workbook problem tb901 Excel Discussion (Misc queries) 0 April 23rd 10 04:14 PM
Print Entire Workbook Budget Programmer Excel Programming 6 January 3rd 09 02:52 PM
ActiveWindow.SelectedSheets.PrintOut - Print to single workbook KateB[_2_] Excel Programming 4 December 11th 08 12:40 AM
Print Entire Workbook Rob Hudson[_2_] Excel Discussion (Misc queries) 3 July 10th 07 02:52 PM
Macro to open print window and set to print entire workbook retseort Excel Discussion (Misc queries) 1 October 27th 05 11:00 PM


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