Microsoft Word Suite
234
Command: convert numbers to text
Changes the list numbers and LISTNUM fields in the specified document, Word list, or list format
object to text.
Syntax
convert numbers to text document/list format/Word list Required. An expression that returns a
document, Word list, or list format object.
[number type enumeration] Optional. The type of number to be converted. Can be one of the
following: number paragraph, number listnum, or number all numbers. The default value is
number all numbers.
Remarks
There are two types of numbers: preset numbers (number paragraph), which you can add to
paragraphs by selecting a template in the Bullets and Numbering dialog box; and LISTNUM fields
(number listnum), which allow you to add more than one number per paragraph.
The convert numbers to text command is useful if you want to work with a document in another
application and that application doesn't recognize list formatting or LISTNUM fields.
Note After you convert list numbers to text, you can no longer manipulate them in a list.
Example
This example converts the list numbers and LISTNUM fields in the active document to text.
convert numbers to text active document
This example converts the numbers in the first list to text.
convert numbers to text Word list 1 of active document
This example converts the preset numbers in
myRange
to text without affecting any LISTNUM
fields.
set myDoc to active document
set myRange to create range myDoc start (start of content of text object of ¬
paragraph 12 of myDoc) end (end of content of text object of ¬
paragraph 20 of myDoc)
convert numbers to text list format of myRange number type number paragraph
Command: copy bookmark
Sets the bookmark specified by the name argument to the location marked by another bookmark,
and returns a bookmark object.
Syntax
copy bookmark bookmark Required. An expression that returns a bookmark object.
name Unicode text Required. The name of the new bookmark.
Example
This example sets the Book2 bookmark to the location marked by the Book1 bookmark.
copy bookmark bookmark "book1" of active document name "book2"