DragOff Method Example

This example deletes vertical page break one from the active sheet by dragging it off the right edge of print region one.

ActiveSheet.VPageBreaks(1).DragOff xlToRight, 1