Add

VbaModuleCollection.Add method (1 of 2)

Adds module for a worksheet.

public int Add(Worksheet sheet)
Parameter Type Description
sheet Worksheet The worksheet

See Also


VbaModuleCollection.Add method (2 of 2)

Adds module.

public int Add(VbaModuleType type, string name)
Parameter Type Description
type VbaModuleType The type of module.
name String The name of module.

See Also