VbaProject

VbaProject class

Represents VBA project with presentation macros.

The VbaProject type exposes the following members:

Constructors

NameDescription
VbaProject()This constructor creates new VBA project from scratch.
Project will be created in 1252 Windows Latin 1 (ANSI) codepage
VbaProject(data)Initializes a new instance of the VbaProject class

Properties

NameDescription
nameReturns the name of the VBA project.
Read-only string.
modulesReturns the list of all modules that are contained in the VBA project.
Read-only IVbaModuleCollection.
referencesReturns the list of all references that are contained in the VBA project.
Read-only IVbaReferenceCollection.

Methods

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

See Also