SetCount Method

Applies To

TextColumns collection object.

Description

Arranges text into the specified number of text columns.

Note You can also use the Add method of the TextColumns object to add a single column to the TextColumns collection.

Syntax

expression.SetCount(NumColumns)

expression   An expression that returns a TextColumns object.

NumColumns   Required Long. The number of columns the text is to be arranged into.

See Also

Add method (TextColumns collection), TextColumns property.

Example

This example arranges the text in the active document into two columns of equal width.

ActiveDocument.PageSetup.TextColumns.SetCount NumColumns:=2
This example arranges the text in the first section of Brochure.doc into three columns of equal width.

Documents("Brochure.doc").Sections(1).PageSetup.TextColumns.SetCount _
    NumColumns:=3