Syntax
NextObject
Remarks
Moves the insertion point to the next document object on the current page in page layout view (the same as pressing ALT+DOWN ARROW (Windows) or OPTION+DOWN ARROW (Macintosh)). Document objects include text columns, table cells, footnotes, and frames.
From the top of the first text column on a page, the NextObject statement moves through document objects in the following order:
NextObject finally moves to the top of the first text column before cycling through the document objects again.
Keep the following points in mind when using NextObject:
Example
This example moves the insertion point to the first document object on the current page. The EditGoTo "\Page" instruction selects the current page, and SelType 1 cancels the selection, leaving the insertion point at the top of the page. The NextObject instruction moves the insertion point to the first document object.
ViewPage EditGoTo "\Page" SelType 1 NextObject
See Also
PrevObject