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: 28
Default No page break in these rows! How?

Dear All,

User starts on a copy of a template and then edit the sheet by adding data
and adding rows ......
Then they print the sheet by pressing a button.
The code does this:
1. Inserts a Pagebreak before each chapter ( Chapternames are in column A).
Each chapter must start on a new page !
2. Hide all rows that doen't have value = 1 in column M. Orther pintouts (
other buttons) works on other colums.
3. iLastSourceRow = ActiveSheet.Cells.Find(What:="*", After:=[A1],
SearchDirection:=xlPrevious).Row
4. Set MyRange
5. MyRange.PrintOut
6. Unhide hidden rows.

1 document has 7 printouts showing the information they want.

Works OK, but some rows must be printed on the same page!
Those rows united by a borderline (rectangle) starting from a cell in column
B


Is this possible ???

Thanks,

Filip



 
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
How to insert page break after every 10 rows? kativa Excel Discussion (Misc queries) 2 August 1st 07 02:16 PM
Conditional page break if merged rows won't fit on the page. zbprtal Excel Worksheet Functions 1 April 12th 06 08:53 PM
rows break across printed page Kimmie B Excel Discussion (Misc queries) 2 August 23rd 05 09:54 PM
Copy Rows and insert these rows before a page break AQ Mahomed Excel Programming 0 June 8th 04 09:09 AM
Inserting rows before page break Robert Christie[_3_] Excel Programming 5 December 15th 03 05:24 AM


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