VbaModule

VbaModule class

Represents the module in VBA project.

class VbaModule;

Methods

MethodDescription
getName()Gets and sets the name of Module.
setName(string)Gets and sets the name of Module.
getType()Gets the type of module.
getCodes()Gets and sets the codes of module.
setCodes(string)Gets and sets the codes of module.
isNull()Checks whether the implementation object is null.

getName()

Gets and sets the name of Module.

getName() : string;

setName(string)

Gets and sets the name of Module.

setName(value: string) : void;

Parameters:

ParameterTypeDescription
valuestringThe value to set.

getType()

Gets the type of module.

getType() : VbaModuleType;

Returns

VbaModuleType

getCodes()

Gets and sets the codes of module.

getCodes() : string;

setCodes(string)

Gets and sets the codes of module.

setCodes(value: string) : void;

Parameters:

ParameterTypeDescription
valuestringThe value to set.

isNull()

Checks whether the implementation object is null.

isNull() : boolean;