IVbaProject

IVbaProject interface

Represents VBA project with presentation macros.

public interface IVbaProject

Properties

NameDescription
IsPasswordProtected { get; }Indicates whether the VBAProject is protected by a password to view project properties. Read-only Boolean.
Modules { get; }Returns the list of all modules that are contained in the VBA project. Read-only IVbaModuleCollection.
Name { get; }Returns the name of the VBA project. Read-only String.
References { get; }Returns the list of all references that are contained in the VBA project. Read-only IVbaReferenceCollection.

Methods

NameDescription
ToBinary()Returns the binary representation of the VBA project as OLE container. Read-only Byte[].

See Also