The information in this article applies to:
SUMMARYYou can use the EditGoto statement in Word to move to the next table in your document. The "t" identifier is used to specify a table. The following statement moves the insertion point to the first cell in the next table.
You can use the EditFind command to search for a number of special characters. However, this command cannot be used to locate a table in a Word for Windows document. To search for tables in a document, use the following macro:
MORE INFORMATION
The above macro uses a While Wend loop to search through the document
for tables. The macro uses the SelInfo command to determine if the
cursor is in a Word for Windows table. SelInfo(12) will return a -1 if
the selection is in a Word table, and Word displays a message box with the
text "Table Found." If the selection does not contain a table, the macro
will move the cursor to the next line in the document.
REFERENCES"Using WordBasic," by WexTech Systems and Microsoft, pages 277-278, 333 Additional query words: winword2 word6 7.0 word95 word7 6.0.1 macword winword 2.0
Keywords : kbmacro winword ntword macword kbtable word6 winword2 word7 |
Last Reviewed: December 20, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |