Hi,
I would like to set horizontal page breaks in vba.
For each cell in range (A7 through A286, where 286 is the value in cell B6), if the cell value is "PB", I need a page break above that cell.
I've tried numerous codes I found, but nothing worked for me.
Any help would be greatly appreciated.
I would like to set horizontal page breaks in vba.
For each cell in range (A7 through A286, where 286 is the value in cell B6), if the cell value is "PB", I need a page break above that cell.
I've tried numerous codes I found, but nothing worked for me.
Any help would be greatly appreciated.