AutoMarkEntries Method

Applies To

Indexes collection object.

Description

Automatically adds XE (Index Entry) fields to the specified document, using the entries from a concordance file.

Note A concordance file is a Word document that contains a two-column table, with terms to index in the first column and index entries in the second column.

Syntax

expression.AutoMarkEntries(ConcordanceFileName)

expression Required. An expression that returns an Indexes object.

ConcordanceFileName Required String. The concordance file name that includes a list of items to be indexed

See Also

MarkAllEntries method, MarkEntry method.

Example

This example adds index entries to Thesis.doc based on the entries in C:\Documents\List.doc.

Documents("Thesis.doc").Indexes.AutoMarkEntries ConcordanceFileName:="C:\Documents\List.doc"