General information
Category:
COM/DCOM and OLE Automation
Thanks, Ken. That worked! I've done a lot of work in automating spreadsheets, but this was my first need for a page break. Thanks again.
---Michael
>You need to pass a reference to the active cell. Here's an example:
>oXL.ActiveWindow.SelectedSheets.HPageBreaks.Add(oXL.ActiveCell)
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only