VbaModuleCollection
VbaModuleCollection class
Represents a collection of a VBA Project modules.
addEmptyModule
Name | Description |
---|---|
addEmptyModule (String) | Adds a new empty module to the VBA Project. |
Parameters:
Name | Type | Description |
---|---|---|
name | String | Name of the module |
Returns: VbaModule
getSyncRoot
Name | Description |
---|---|
getSyncRoot () | Returns a synchronization root. Read-only Object. |
Returns: Object
get_Item
Name | Description |
---|---|
get_Item (int) | Gets the element at the specified index. |
Returns: VbaModule
isSynchronized
Name | Description |
---|---|
isSynchronized () | Returns a value indicating whether access to the collection is synchronized (thread-safe). Read-only boolean. |
Returns: boolean
iterator
Name | Description |
---|---|
iterator () | Returns an enumerator that iterates through the collection. |
Returns:
iteratorJava
Name | Description |
---|---|
iteratorJava () | Returns a java iterator for the entire collection. |
Returns:
remove
Name | Description |
---|---|
remove (VbaModule) | Removes the first occurrence of a specific object from the collection. |
Parameters:
Name | Type | Description |
---|---|---|
value | VbaModule | The module to remove from the collection. |
Returns: void
size
Name | Description |
---|---|
size () | Gets the number of elements actually contained in the collection. Read-only int. |
Returns: int