VbaModuleCollection class

VbaModuleCollection class

Represents a collection of a VBA Project modules.

The VbaModuleCollection type exposes the following members:

Gets the element at the specified index.

Indexer

NameDescription
[index]

Methods

MethodDescription
removeRemoves the first occurrence of a specific object from the collection.
add_empty_moduleAdds a new empty module to the VBA Project.

See Also