Edit

Share via


Indexes.MarkAllEntries Method

Definition

Inserts an XE (Index Entry) field after all instances of the text in Range.

public void MarkAllEntries (Microsoft.Office.Interop.Word.Range Range, ref object Entry, ref object EntryAutoText, ref object CrossReference, ref object CrossReferenceAutoText, ref object BookmarkName, ref object Bold, ref object Italic);
abstract member MarkAllEntries : Microsoft.Office.Interop.Word.Range * obj * obj * obj * obj * obj * obj * obj -> unit
Public Sub MarkAllEntries (Range As Range, Optional ByRef Entry As Object, Optional ByRef EntryAutoText As Object, Optional ByRef CrossReference As Object, Optional ByRef CrossReferenceAutoText As Object, Optional ByRef BookmarkName As Object, Optional ByRef Bold As Object, Optional ByRef Italic As Object)

Parameters

Range
Range

Required Range object. The range whose text is marked with an XE field throughout the document.

Entry
Object

Optional Object. The text you want to appear in the index, in the form MainEntry[:Subentry].

EntryAutoText
Object

Optional Object. The AutoText entry that contains the text you want to appear in the index (if this argument is specified, Entry is ignored).

CrossReference
Object

Optional Object. A cross-reference that will appear in the index.

CrossReferenceAutoText
Object

Optional Object. The name of the AutoText entry that contains the text for a cross-reference (if this argument is specified, CrossReference is ignored).

BookmarkName
Object

Optional Object. The bookmark name that marks the range of pages you want to appear in the index. If this argument is omitted, the number of the page that contains the XE field appears in the index.

Bold
Object

Optional Object. True to add bold formatting to page numbers for index entries.

Italic
Object

Optional Object. True to add italic formatting to page numbers for index entries.

Applies to