General information
Category:
COM/DCOM and OLE Automation
Title:
Need to Insert Excel Page Breaks
I'm having difficulty translating the VFP equivalent of a VBA page break for an Excel spreadsheet. A recorded Excel macro of a page break produces the following:
ActiveWindow.SelectedSheets.HPageBreaks.Add Before:=ActiveCell
What would be the proper way of formatting this in VFP? I know how to activate the proper cell or row, but I need to know how to insert the page break.
Thanks!
Michael Reynolds
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