Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
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
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
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
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
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
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
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
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() "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 |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Suppress worksheet delete verification msgbox | Excel Discussion (Misc queries) | |||
how do I suppress printing blank lines in a worksheet? | Excel Discussion (Misc queries) | |||
Inserting pagebreaks into an Excel Worksheet | Excel Programming | |||
Suppress double click behaviour when a picture on a worksheet is active/selected | Excel Programming | |||
pagebreaks | Excel Programming |