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 |
Result: VbaModule
getSyncRoot
Name | Description |
---|---|
getSyncRoot() | Returns a synchronization root. Read-only Object. |
Result: Object
get_Item
Name | Description |
---|---|
get_Item(int) | Gets the element at the specified index. |
Result: VbaModule
isSynchronized
Name | Description |
---|---|
isSynchronized() | Returns a value indicating whether access to the collection is synchronized (thread-safe). Read-only boolean. |
Result: boolean
iterator
Name | Description |
---|---|
iterator() | Returns an enumerator that iterates through the collection. |
Result:
iteratorJava
Name | Description |
---|---|
iteratorJava() | Returns a java iterator for the entire collection. |
Result:
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. |
size
Name | Description |
---|---|
size() | Gets the number of elements actually contained in the collection. Read-only int. |
Result: int