S
Shane R. Pouch
I have written a macro, which includes the following (and is working just
fine):
Range("B5").Select
ActiveSheet.HPageBreaks.Add Before:=ActiveCell
But, I cannot figure out how to get rid of the page break when I want to.
I have tried:
Range("B5").Select
ActiveSheet.HPageBreaks.Delete Before:=ActiveCell
And:
Range("B5").Select
ActiveSheet.HPageBreaks.Remove Before:=ActiveCell
But neither worked.
Help!!
fine):
Range("B5").Select
ActiveSheet.HPageBreaks.Add Before:=ActiveCell
But, I cannot figure out how to get rid of the page break when I want to.
I have tried:
Range("B5").Select
ActiveSheet.HPageBreaks.Delete Before:=ActiveCell
And:
Range("B5").Select
ActiveSheet.HPageBreaks.Remove Before:=ActiveCell
But neither worked.
Help!!