N
newscorrespondent
I am trying to set a page break in EXCEL from a C# application.
Target.ActiveWindow.SelectedSheets.HPageBreaks.Add(??????);
is close to the code that should do it.
The ??? requires a "Before object".
How do I define such an object?
I also can't figure out how to set the font in header object. The EXCEL
macro facility unfortunately leaves that code out when I code a macro.
Thanks
Target.ActiveWindow.SelectedSheets.HPageBreaks.Add(??????);
is close to the code that should do it.
The ??? requires a "Before object".
How do I define such an object?
I also can't figure out how to set the font in header object. The EXCEL
macro facility unfortunately leaves that code out when I code a macro.
Thanks