Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
My spreadsheet is long and thin so only need to think about horizontal page
breaks. I want to say fit to X pages vertically with the pages breaks here, here and here. I am using .PageSetup.FitToPagesTall = X and .HPageBreaks(P).Location = .Cells(B4row, 1) P is the Pth pagebreak and B4row is the row I want the break before. (Have tried this as a range as well as a cell) Excel just ignores my efforts any suggestions?? |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Fit to pages ignores pagebreaks. - just to confirm you observations.
If you want to set the pagebreaks, then you have to control the layout. If you want excel to control the layout, then it sets the pagebreaks. You might try setting the pagebreaks and then playing with the zoom setting until your pagebreak matches the automatic pagebreak. -- Regards, Tom Ogilvy "Rod" wrote: My spreadsheet is long and thin so only need to think about horizontal page breaks. I want to say fit to X pages vertically with the pages breaks here, here and here. I am using .PageSetup.FitToPagesTall = X and .HPageBreaks(P).Location = .Cells(B4row, 1) P is the Pth pagebreak and B4row is the row I want the break before. (Have tried this as a range as well as a cell) Excel just ignores my efforts any suggestions?? |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
smart idea, ta
"Tom Ogilvy" wrote in message ... Fit to pages ignores pagebreaks. - just to confirm you observations. If you want to set the pagebreaks, then you have to control the layout. If you want excel to control the layout, then it sets the pagebreaks. You might try setting the pagebreaks and then playing with the zoom setting until your pagebreak matches the automatic pagebreak. -- Regards, Tom Ogilvy "Rod" wrote: My spreadsheet is long and thin so only need to think about horizontal page breaks. I want to say fit to X pages vertically with the pages breaks here, here and here. I am using .PageSetup.FitToPagesTall = X and .HPageBreaks(P).Location = .Cells(B4row, 1) P is the Pth pagebreak and B4row is the row I want the break before. (Have tried this as a range as well as a cell) Excel just ignores my efforts any suggestions?? |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
xl2002+ respects those pagebreaks with fit to pages set (well, when you leave
one of the tall or wide boxes empty). A nice enhancement. (I'm using xl2003, but I think I noticed this in xl2002, too, er, also <vbg.) Tom Ogilvy wrote: Fit to pages ignores pagebreaks. - just to confirm you observations. If you want to set the pagebreaks, then you have to control the layout. If you want excel to control the layout, then it sets the pagebreaks. You might try setting the pagebreaks and then playing with the zoom setting until your pagebreak matches the automatic pagebreak. -- Regards, Tom Ogilvy "Rod" wrote: My spreadsheet is long and thin so only need to think about horizontal page breaks. I want to say fit to X pages vertically with the pages breaks here, here and here. I am using .PageSetup.FitToPagesTall = X and .HPageBreaks(P).Location = .Cells(B4row, 1) P is the Pth pagebreak and B4row is the row I want the break before. (Have tried this as a range as well as a cell) Excel just ignores my efforts any suggestions?? -- Dave Peterson |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Setting Page Breaks | Excel Discussion (Misc queries) | |||
setting page breaks for whole spreadsheet to be consistent? | Setting up and Configuration of Excel | |||
Setting page breaks in Excel - drag and drop | Excel Discussion (Misc queries) | |||
Setting page breaks (another) | Excel Programming | |||
Are conditional formats available for setting page breaks? | Excel Discussion (Misc queries) |