Export (0) Print
Expand All

Fonts.Count Property

Office 2007
Returns the number of objects in the specified collection. Read-only.

Syntax

expression.Count

expression   A variable that represents a Fonts object.

Return Value
Long

Example

This example closes all windows except the active window.

Visual Basic for Applications
With Application.Windows
    For i = 2 To .Count
        .Item(2).Close
    Next
End With



Community Additions

ADD
Show:
© 2015 Microsoft