Index.NumberOfColumns property (Word)
Sets or returns the number of columns for each page of an index. Read/write Long.
Syntax
expression. NumberOfColumns
expression An expression that an 'Index' object.
Remarks
Specifying 0 (zero) sets the number of columns in the index to the same number as in the document.
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
See also
Support and feedback
Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for