VbaProject

VbaProject class

Represents VBA project with presentation macros.

VbaProject

NameDescription
VbaProject()This constructor creates new VBA project from scratch. Project will be created in 1252 Windows Latin 1 (ANSI) codepage

Result: VbaProject


VbaProject

NameDescription
VbaProject(byte[])This constructor loads VBA project from binary representation of OLE container.

Result: VbaProject


getModules

NameDescription
getModules()Returns the list of all modules that are contained in the VBA project. Read-only IVbaModuleCollection.

Result: VbaModuleCollection


getName

NameDescription
getName()Returns the name of the VBA project. Read-only String.

Result: String


getReferences

NameDescription
getReferences()Returns the list of all references that are contained in the VBA project. Read-only IVbaReferenceCollection.

Result: VbaReferenceCollection


toBinary

NameDescription
toBinary()Returns the binary representation of the VBA project as OLE container

Result: byte