This documentation is archived and is not being maintained.

AllReports.Count Property

Office 2007
You can use the Count property to determine the number of items in a specified collection. Read-only Long.

Syntax

expression.Count

expression   A variable that represents an AllReports object.

Example

For example, if you want to determine the number of forms currently open or existing on the database, you would use the following code strings

Visual Basic for Applications
' Determine the number of open forms.

forms.count

' Determine the number of forms (open or closed)
' in the current database.

currentproject.allforms.count


Show: