in reply to Re^2: excel page breaks???
in thread Help inserting page break in Microsoft Excel using OLE
Given $sheet is
$workbook->Worksheets("Sheet1")
or
$workbook->ActiveSheet
and given $cell is
$sheet->Range("6:6")
or
$sheet->ActiveCell
I think it's
$sheet->HPageBreaks->Add(...)
For arguments, you could try
Before => $cell
I'm really just guessing. MSDN is unusually horrid on this subject.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: excel page breaks???
by jobs_ron (Acolyte) on Mar 01, 2005 at 18:52 UTC | |
by RazorbladeBidet (Friar) on Mar 01, 2005 at 18:54 UTC | |
by jobs_ron (Acolyte) on Mar 01, 2005 at 19:05 UTC |