Click to Rate and Give Feedback
MSDN
MSDN Library
Office Development
Word 2007
Index Object
Properties
 Filter Property

  Switch on low bandwidth view
Community Content
In this section
Statistics Annotations (0)
Index.Filter Property
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".

Visual Basic for Applications
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



Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker