The information in this article applies to:
SUMMARY
You can use the Microsoft WordBasic macros and commands detailed below be
to select the following document elements:
MORE INFORMATIONThe following macros apply to Word versions 7.x, 6.x and 2.x unless noted otherwise. Word 6.x, 7.x CommandSelectCurWordWord 2.x Select Word MacroThe following WordBasic macro selects the current word where the insertion point is located. The insertion point must be within a word and not positioned just before the word.
Select Line MacroThe following WordBasic macro selects the current line where the insertion point is located.
Word 6.x, 7.x CommandSelectCurSentenceWord 2.0 Select Sentence MacroThe following WordBasic macro selects the current sentence where the insertion point is located. The insertion point must be within the sentence and not positioned just before the sentence.
Select Paragraph MacroThe following WordBasic macro can be used to select the paragraph of text where the insertion point is located.
Select Page MacroThe following WordBasic macro can be used to select the current page in your document.
Select Section MacroThe following WordBasic macro can be used to select the current section in your document.
Select Document MacroThe following WordBasic command can be used to select all of the document text.EditSelectAllThe SelType 1 command is used in the above macros to cancel an existing selection. REFERENCES"Using WordBasic," by WexTech Systems and Microsoft, page 184 and 279. Additional query words: winword2 winword word95 word7 paragraph word line document macword section word6 sentence
Keywords : kbmacro wordnt kbmacroexample winword ntword macword word7 |
Last Reviewed: October 13, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |