I've got an Excel spreadsheet created and opened as an OLE object; I
can load values to it, set the font, the margins, but I just can't find
a way to programmatically insert a pagebreak. I cut and paste from an
Excel macro:
and that didn't work; I'm hoping that there's some sort of
objSheet.HPageBreaks.Add Before:=ActiveCell
that doesn't result in an automation error. All help gratefully
received.
Mike Gooding
------------
Archived from group: microsoft>public>vb>ole