Hi All,
I have tried many different approaches to getting Excel to Page Break
automatically when I instruct it to, it seems to ignore the command
completely, anyone have any ideas.
oExcel.ActiveWindow.SelectedSheets.HPageBreaks.Add(oExcel.ActiveCell)
oRange = oBook.Sheets(1).Range("A"+cStartRow+":A"+cEndRow)
oBook.Sheets(1).HPageBreaks.Add(oRange)
Thanks in advance
Tanya