... including URL and other Internet Web site references, is subject to change. without notice. ... does not give you any license to these patents, tr
Document source : download.microsoft.com
Microsoft Word Suite
65
entry index
Returns a number that indicates the position of the AutoText entry in list of AutoText entries.
Read-only.
name
Returns or sets the name of the AutoText entry. Read/write.
style name
Returns the name of the style applied to the specified AutoText entry. Read-only.
Class: bookmark
Plural
bookmarks
Represents a single bookmark. The bookmarks list includes all the bookmarks listed in the
Bookmark dialog box (Insert menu).
Use bookmark index, where index is the bookmark name or index number, to return a single
bookmark object. You must exactly match the spelling (but not necessarily the capitalization) of the
bookmark name. The following example selects the bookmark named "temp" in the active
document.
select bookmark "temp" of active document
The index number represents the position of the bookmark in the selection or range object. For the
document object, the index number represents the position of the bookmark in the alphabetical list
of bookmarks in the Bookmarks dialog box (click Name to sort the list of bookmarks
alphabetically). The following example displays the name of the second bookmark in the
bookmarks list.
display dialog (name of bookmark 2 of active document) as string
Use the make command to add a bookmark to a document range. The following example marks the
selection by adding a bookmark named "temp."
make new bookmark at active document with properties ¬
{name:"temp", text object:text object of selection}
Remarks
To return the index number of the bookmark object in the bookmarks list, use the bookmark id
property with a range or selection object. The following example displays the index number of the
bookmark named "temp" in the active document.
display dialog (bookmark id of text object of bookmark "temp" of ¬
active document) as string
Summary :
For the document object, the index number represents the position of the bookmark in the alphabetical list of bookmarks in the Bookmarks dialog box (click Name to sort the list of bookmarks alphabetically). make new bookmark at active document with properties ¬ {name:"temp", text object:text object of selection} Remarks To return the index number of the bookmark object in the bookmarks list, use the bookmark id property with a range or selection object.
Tags :
name,bookmarks,index,document,object,actie,list,number,quottempquot,following,selection,example,autotext