Changing Boolean settings
Sub Main() ActiveSheet.DisplayPageBreaks = False ActiveSheet.DisplayPageBreaks = True End Sub