Page Break

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

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 Before:=ActiveCell
 
With Workbooks("xyz.xls).Worksheets("SheetName")
.HPageBreaks.Add Before:= .Rows(c)
End With
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top