Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I am trying to program in a page break before row c. It is really delaying
my program because I think that it takes a while to select a row. I would like to execute a page break without having to select a row. Here is what I have. Thank you very much Rows(c).Select ActiveWindow.SelectedSheets.HPageBreaks.Add Befo=ActiveCell |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
With Workbooks("xyz.xls).Worksheets("SheetName")
.HPageBreaks.Add Befo= .Rows(c) End With "Adam" wrote in message ... I am trying to program in a page break before row c. It is really delaying my program because I think that it takes a while to select a row. I would like to execute a page break without having to select a row. Here is what I have. Thank you very much Rows(c).Select ActiveWindow.SelectedSheets.HPageBreaks.Add Befo=ActiveCell |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() ActiveSheet.HPageBreaks.Add Befo=ActiveSheet.Range("A3") -- Regards, Tom Ogilvy "Adam" wrote in message ... I am trying to program in a page break before row c. It is really delaying my program because I think that it takes a while to select a row. I would like to execute a page break without having to select a row. Here is what I have. Thank you very much Rows(c).Select ActiveWindow.SelectedSheets.HPageBreaks.Add Befo=ActiveCell |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Excel 2007 Page Break Adjustments causes a page break each cell | Excel Worksheet Functions | |||
How do I do page breaks when view menu doesnt page break preview | Excel Discussion (Misc queries) | |||
Remove big gray page number on Page Break Preview??? | Excel Discussion (Misc queries) | |||
change and/or remove page number watermark in page break preview | Excel Discussion (Misc queries) | |||
adding a new page break to an existing page break | Excel Discussion (Misc queries) |