Dim n As Integer
Dim rs As Integer
Dim re As Integer
Dim rng As Range
n = ActiveDocument.ActiveWindow.Panes(1).Pages(2).Rectangles.Count
If n > 0 Then
rs = ActiveDocument.ActiveWindow.Panes(1).Pages(2).Rectangles(1).Range.Start
re = ActiveDocument.ActiveWindow.Panes(1).Pages(2).Rectangles(n).Range.End