Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Sub CheckTable()
If Selection.Information(wdWithInTable) = True Then
If Selection.Tables(1).Range.End > _
ActiveDocument.Bookmarks("\page").Range.End Then
MsgBox "This table extends beyond this page."
Else
MsgBox "This table does NOT extend beyond this page."
End If
Else
MsgBox "Selection is not in a table."
Exit Sub
End If
End Sub