VbaModuleCollection class

VbaModuleCollection class

Represents a collection of VbaModule objects. To learn more, visit the Working with VBA Macros documentation article.

Properties

NameDescription
countReturns the number of VBA modules in the collection.
this[]
this[]

Methods

NameDescription
add(vbaModule)Adds a module to the collection.
remove(module)Removes the specified module from the collection.

See Also