LibsNum Method (Application object)

Returns the number of open libraries in the application.

Applies to: Application object

Syntax

[[Set] countRet =] object.LibsNum ()

The LibsNum method syntax has these parts:

Part Description
object Required. An expression that returns an instance of the Application object.

countRet

Optional. A Long type variable.

Remarks

It's convenient to use the LibsNum method together with the Lib method to go through the open libraries in the application.