Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 147
Default Double Pagebreak?

When I go through my code I am using .HPageBreaks.Add Befo=Cells(x,y) to
add a page break at a certain cell. But I actually want to add two page
breaks so that I have a blank page inbetween can this be done? Or do I need
to insert a blank line first and then another pagebreak.


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Double Pagebreak?

blank line with another pagebreak.

--
Regards,
Tom Ogilvy

"HotRod" wrote in message
...
When I go through my code I am using .HPageBreaks.Add Befo=Cells(x,y)

to
add a page break at a certain cell. But I actually want to add two page
breaks so that I have a blank page inbetween can this be done? Or do I

need
to insert a blank line first and then another pagebreak.




  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 147
Default Double Pagebreak?

THANKS, I was afraid of that. That also means that if I don't want to waste
the paper I need to change the border colour and visable lines.How would I
set the Row to not have any printable properties? Actually I have the first
two rows of the sheet repeating as a header row is it possible to print jsut
a blank sheet? Otherwise I'll waste 200+ sheets every time this thing runs.


"Tom Ogilvy" wrote in message
...
blank line with another pagebreak.

--
Regards,
Tom Ogilvy

"HotRod" wrote in message
...
When I go through my code I am using .HPageBreaks.Add Befo=Cells(x,y)

to
add a page break at a certain cell. But I actually want to add two page
breaks so that I have a blank page inbetween can this be done? Or do I

need
to insert a blank line first and then another pagebreak.






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
Need help coding a PageBreak Marty Excel Discussion (Misc queries) 3 December 7th 07 01:33 PM
Cant move pagebreak in PageBreak View in Excel2003 Vasanthan Excel Worksheet Functions 1 August 22nd 07 03:28 PM
find pagebreak tina Excel Programming 1 June 17th 05 10:01 AM
How to pagebreak Bilal A F Excel Programming 1 November 13th 03 06:57 PM
PAGEBREAK-MACRO Jay Dean Excel Programming 2 September 19th 03 12:40 PM


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