Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 51
Default HPageBreaks and InsertRow Problem

Yes i am using 2007. It is a manual Page Break. And no I do not have a print
area set.

I just want to delete a previously inserted manual page break.

"Jim Cone" wrote:

"I have a page break inserted where it needs to go"
'--
Are you using xl2007?
Is that pagebreak a manual pagebreak or is it an automatic pagebreak?
Do you have a print area set?
--
Jim Cone
Portland, Oregon USA



"ironhydroxide"

wrote in message
Hello,
I am having a problem with some code i have been working on over the past
couple weeks. I have a page break inserted where it needs to go, and then i
need to insert a row right after the page break. I select the row directly
under the page break and insert (with Selection.Insert Shift:=xlUp) a row.
and then the page break magically ends up at the bottom of the cell that i
inserted.
So i either need to know how to keep the page break at the top of the cell,
Or how to delete a specific page break deduced from a Row# (as i always have
the Row# where the page break is).
Thanks for replies
Ironhydroxide

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,549
Default HPageBreaks and InsertRow Problem

xl2007 seems to have it's own rules.
However, see what this does...

Worksheets("Sheet1").Rows(15).PageBreak = xlNone
--
Jim Cone
Portland, Oregon USA



"ironhydroxide"

wrote in message
Yes i am using 2007. It is a manual Page Break.
And no I do not have a print area set.
I just want to delete a previously inserted manual page break.


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 51
Default HPageBreaks and InsertRow Problem

Alright, That Did it. Thanks for getting me that code. The help function
is vague if it has any information and so you have helped alot.

Thanks
Ironhydroxide

"Jim Cone" wrote:

xl2007 seems to have it's own rules.
However, see what this does...

Worksheets("Sheet1").Rows(15).PageBreak = xlNone
--
Jim Cone
Portland, Oregon USA



"ironhydroxide"

wrote in message
Yes i am using 2007. It is a manual Page Break.
And no I do not have a print area set.
I just want to delete a previously inserted manual page break.



  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,549
Default HPageBreaks and InsertRow Problem

You are welcome.
For what it is worth, I use xl97 help for the four versions of Excel
I have installed. It is faster and better organized then later versions.
I am unfamiliar with xl2007 help and will probably remain that way.
'--
Jim Cone
(never be last with the oldest or first with the newest)



"ironhydroxide"

wrote in message
Alright, That Did it. Thanks for getting me that code. The help function
is vague if it has any information and so you have helped alot.
Thanks
Ironhydroxide



"Jim Cone" wrote:
xl2007 seems to have it's own rules.
However, see what this does...

Worksheets("Sheet1").Rows(15).PageBreak = xlNone
--
Jim Cone
Portland, Oregon USA



"ironhydroxide"

wrote in message
Yes i am using 2007. It is a manual Page Break.
And no I do not have a print area set.
I just want to delete a previously inserted manual page break.



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
A problem with HPageBreaks NateBuckley Excel Programming 3 December 8th 08 11:36 PM
Strange problem with HPageBreaks Ron de Bruin Excel Programming 0 June 29th 08 11:13 AM
HPageBreaks.Add Stephen Plotnick Excel Programming 2 July 7th 07 01:41 AM
InsertRow upon each value change LydaRA45 Excel Programming 1 December 5th 05 10:51 PM
HPageBreaks.Add GeorGeorGe Excel Worksheet Functions 0 February 9th 05 09:31 PM


All times are GMT +1. The time now is 05:37 AM.

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"