Aspose::Cells::Vba::VbaModuleCollection::Add method

VbaModuleCollection::Add(const Worksheet&) method

Adds module for a worksheet.

int32_t Aspose::Cells::Vba::VbaModuleCollection::Add(const Worksheet &sheet)
ParameterTypeDescription
sheetconst Worksheet&The worksheet

ReturnValue

See Also

VbaModuleCollection::Add(VbaModuleType, const U16String&) method

Adds module.

int32_t Aspose::Cells::Vba::VbaModuleCollection::Add(VbaModuleType type, const U16String &name)
ParameterTypeDescription
typeVbaModuleTypeThe type of module.
nameconst U16String&The name of module.

ReturnValue

See Also

VbaModuleCollection::Add(VbaModuleType, const char16_t*) method

Adds module.

int32_t Aspose::Cells::Vba::VbaModuleCollection::Add(VbaModuleType type, const char16_t *name)
ParameterTypeDescription
typeVbaModuleTypeThe type of module.
nameconst char16_t*The name of module.

ReturnValue

See Also