Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 135
Default Suppress all PageBreaks of a worksheet

Hi everyone,

If I want to suppress all "PageBreak" of a worksheet,
which method represent the best solution ?

Worksheets("sheet1").Cells.PageBreak = xlPageBreakNone
Or
Worksheets("sheet1").ResetAllPageBreaks

Are there a significant differences between this two approaches?
If yes, what are they ?

Thanks in advance for your collaboration and your time.





  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 9
Default Suppress all PageBreaks of a worksheet

MichDenis wrote:
Hi everyone,

If I want to suppress all "PageBreak" of a worksheet,
which method represent the best solution ?

Worksheets("sheet1").Cells.PageBreak = xlPageBreakNone
Or
Worksheets("sheet1").ResetAllPageBreaks

Are there a significant differences between this two approaches?
If yes, what are they ?

Thanks in advance for your collaboration and your time.





Joe Farruggio wrote:
I have seen no significant difference
  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,986
Default Suppress all PageBreaks of a worksheet

If you want to suppress them, I would go with = xlPageBreakNone.

"MichDenis" wrote:

Hi everyone,

If I want to suppress all "PageBreak" of a worksheet,
which method represent the best solution ?

Worksheets("sheet1").Cells.PageBreak = xlPageBreakNone
Or
Worksheets("sheet1").ResetAllPageBreaks

Are there a significant differences between this two approaches?
If yes, what are they ?

Thanks in advance for your collaboration and your time.






  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Suppress all PageBreaks of a worksheet

What do you want to achieve?

Maybe ActiveSheet.Displaypagebreaks = False

which will speed up your code, is what you want. The other two methods
don't remove automatic pagebreaks and may make them visible. (nothing
does).

--
Regards,
Tom Ogilvy

"MichDenis" wrote in message
...
Hi everyone,

If I want to suppress all "PageBreak" of a worksheet,
which method represent the best solution ?

Worksheets("sheet1").Cells.PageBreak = xlPageBreakNone
Or
Worksheets("sheet1").ResetAllPageBreaks

Are there a significant differences between this two approaches?
If yes, what are they ?

Thanks in advance for your collaboration and your time.







  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 135
Default Thanks to everyone for your comments


"MichDenis" a écrit dans le message de news:
...
Hi everyone,

If I want to suppress all "PageBreak" of a worksheet,
which method represent the best solution ?

Worksheets("sheet1").Cells.PageBreak = xlPageBreakNone
Or
Worksheets("sheet1").ResetAllPageBreaks

Are there a significant differences between this two approaches?
If yes, what are they ?

Thanks in advance for your collaboration and your time.






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
Suppress worksheet delete verification msgbox CurtB Excel Discussion (Misc queries) 5 September 30th 08 01:38 PM
how do I suppress printing blank lines in a worksheet? Rob M'Crystal Excel Discussion (Misc queries) 1 October 12th 06 03:14 PM
Inserting pagebreaks into an Excel Worksheet cs_vision Excel Programming 6 May 18th 05 10:32 PM
Suppress double click behaviour when a picture on a worksheet is active/selected David Cuthill[_2_] Excel Programming 0 January 24th 05 11:45 PM
pagebreaks Yiannis H. Economides Excel Programming 1 February 19th 04 04:03 PM


All times are GMT +1. The time now is 11:10 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"