Index.Filter property (Word)
Returns or sets a value that specifies how Microsoft Word classifies the first character of entries in the specified index.read/write Long. Can be one of the following wdIndexFilter constants.
Syntax
expression. Filter
expression A variable that represents an 'Index' object.
Example
This example inserts an index at the end of the active document. right-aligns the page numbers, and then sets Microsoft Word to classify index entries as "wdIndexFilterAkasatana".
Set myRange = ActiveDocument.Range _
(Start:=ActiveDocument.Content.End -1, _
End:=ActiveDocument.Content.End -1)
ActiveDocument.Indexes.Add(Range:=myRange, Type:=wdIndexIndent, _
RightAlignPageNumbers:=True).Filter = wdIndexFilterAkasatana
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