G
Guest
I recorded a Macro to generate page breaks. The code is:
ActiveSheet.ResetAllPageBreaks
Set ActiveSheet.HPageBreaks(1).Location = Range("A68")
When I try to run this macro, I get Runtime Error '1004', Application or
Object defined error. Does anybody know of a way to do this?
ActiveSheet.ResetAllPageBreaks
Set ActiveSheet.HPageBreaks(1).Location = Range("A68")
When I try to run this macro, I get Runtime Error '1004', Application or
Object defined error. Does anybody know of a way to do this?