Format Property

See Also         Example         Applies To

Returns or sets the formatting for the specified object, as described in the following table.

Object Description
Indexes Returns or sets the formatting for the indexes in the specified document. Can be one of the following WdIndexFormat constants: wdIndexBulleted, wdIndexClassic, wdIndexFancy, wdIndexFormal, wdIndexModern, wdIndexSimple or wdIndexTemplate. Read/write Long
Find True if formatting is included in the find operation. Read/write Boolean.
Paragraph, Paragraphs Returns or sets a ParagraphFormat object that represents the formatting of the specified paragraph or paragraphs. Read/write.
TablesOfAuthorities Returns or sets the formatting for the tables of authorities in the specified document. Can be one of the following WdTOAFormat constants: wdTOAClassic, wdTOADistinctive, wdTOAFormal, wdTOASimple, or wdTOATemplate. Read/write Long.
TablesOfContents Returns or sets the formatting for the tables of contents in the specified document. Can be one of the following WdTOCFormat constants:, wdTOCClassic, wdTOCDistinctive, wdTOCFancy, wdTOCFormal, wdTOCModern, wdTOCSimple or wdTOCTemplate. Read/write Long.
TablesOfFigures Returns or sets the formatting for the tables of figures in the specified document. Can be one of the following WdTOFFormat constants: wdTOFCentered, wdTOFClassic, wdTOFDistinctive, wdTOFFormal, wdTOFSimple, or wdTOFTemplate. Read/write Long.
TextInput Returns the text formatting for the specified text box. Read-only String.

Use the EditType method of the TextInput object to set the text formatting.