Returns a Library object by its index in the library collection of the Application.
Applies to: Application object
[[Set] libraryRet =] object.Lib ( index ) |
The Lib method syntax has these parts:
Part | Description |
object | Required. An expression that returns a Application object . |
index | Required. An expression that returns a Long value. The library index in the library collection of the Application. |
libraryRet | Optional. A Library type variable. |
If index is less than 1 or greater than the number of libraries in the library collection of the Application, the Lib method returns Nothing. To find out the number of libraries in the library collection of the Application. use the LibsNum method.