VbaProject

Overview

VbaProject is a class in Aspose.Words FOSS for .NET.

Provides access to VBA project information.

This class provides 2 methods for working with VbaProject objects in .NET programs. Available methods include: Clone, VbaProject. All public members are accessible to any .NET application after installing the Aspose.Words FOSS for .NET package. Properties: CodePage, IsProtected, IsSigned, Modules, Name, References.

Properties

NameTypeAccessDescription
NamestringRead/WriteGets or sets VBA project name.
ModulesVbaModuleCollectionReadReturns collection of VBA project modules.
CodePageintRead/WriteGets or sets the VBA project’s code page.
IsSignedboolReadShows whether the VbaProject is signed or not.
IsProtectedboolReadShows whether the VbaProject is password protected.
ReferencesVbaReferenceCollectionReadGets a collection of VBA project references.

Methods

SignatureDescription
VbaProject()Creates a blank VbaProject.
Clone()Performs a copy of the VbaProject.

See Also