NumberOfColumns Property

Applies To

Index object.

Description

Sets or returns the number of columns for each page of an index. Read/write Long.

Note Specifying 0 (zero) sets the number of columns in the index to the same number as in the document.

See Also

HeadingSeparator property, Indexes property.

Example

This example sets the number of columns in the first index to the same number as in the active document.

ActiveDocument.Indexes(1).NumberOfColumns = 0
This example sets a two-column format for each index in the active document.

For Each myIndex In ActiveDocument.Indexes
    myIndex.NumberOfColumns = 2
Next myIndex