| 
| 
Special Bookmarks in the WordBasic Macro Language
ID: Q60003
 
 |  The information in this article applies to:
 
 
Microsoft Word for Windows, versions  1.0, 1.1, 1.1a, 2.0, 2.0a, 2.0a-CD, 2.0b, 2.0c, 6.0, 6.0a, 6.0c
Microsoft Word for Windows 95, version  7.0
Microsoft Word for the Macintosh, versions  6.0, 6.0.1
 
 
 SUMMARY
Some macro statements can use the following special bookmarks in
Microsoft Word:
 
 
   Bookmark                  Definition
   --------                  ----------
   \Sel                      Current selection
   \PrevSel1                 Previous selection 1 where editing occurred
                              (0 at start)
   \PrevSel2                 Previous selection 2 where editing occurred
                              (0 at start)
   \StartOfSel               Start of selection
   \EndOfSel                 End of selection
   \Line                     Current line (first of selection)
   \Char                     Current character (first of selection)
   \Para                     Current paragraph (first of selection)
   \Section                  Current section (first of selection)
   \Doc                      Entire document
   \Page                     Current page
   \StartOfDoc               Beginning of document
   \EndOfDoc                 End of document
   \Cell                     Cell
   \Table                    Table
   \HeadingLevel             A heading level 
 Example
   EditGoto "\StartOfDoc"
Reference(s): 
 "Using WordBasic," by WexTech Systems and Microsoft, pages 88-90
 "Word for Windows and 0S/2 Technical Reference", pages 103-107
 Additional query words: 
1.x 2.0 7.0 word95 winword word6 6.0.1 word7 2.0c winword2 6.0 macword  
Keywords          : kbmacro kbusage winword word6 word7 word95 Version           : MACINTOSH:6.0,6.0.1; WINDOWS:1.0,1.1,1.1a,2.0,2.0a,2.0a-CD,2.0b,2.0c,6.0,6.0a,6.0c,7.0
 Platform          : MACINTOSH WINDOWS
 Issue type        :
 |