Table of Contents

Class ExcelVbaProject

Namespace
OfficeOpenXml.VBA
Assembly
EPPlus.dll

Represents the VBA project part of the package

public class ExcelVbaProject
Inheritance
ExcelVbaProject
Inherited Members

Properties

CodePage

Codepage for encoding. Default is current regional setting.

public int CodePage { get; }

Property Value

int

CompatVersion

The compatible version for the VBA project. If null, this record is not written.

public uint? CompatVersion { get; set; }

Property Value

uint?

Constants

Conditional compilation constants

public string Constants { get; set; }

Property Value

string

Description

A description of the project

public string Description { get; set; }

Property Value

string

HelpContextID

Context if refering the helpfile

public int HelpContextID { get; set; }

Property Value

int

HelpFile1

A helpfile

public string HelpFile1 { get; set; }

Property Value

string

HelpFile2

Secondary helpfile

public string HelpFile2 { get; set; }

Property Value

string

Modules

Code Modules (Modules, classes, designer code)

public ExcelVbaModuleCollection Modules { get; set; }

Property Value

ExcelVbaModuleCollection

Name

Name of the project

public string Name { get; set; }

Property Value

string

Protection

VBA protection

public ExcelVbaProtection Protection { get; }

Property Value

ExcelVbaProtection

References

Project references

public ExcelVbaReferenceCollection References { get; set; }

Property Value

ExcelVbaReferenceCollection

Signature

The digital signature

public ExcelVbaSignature Signature { get; }

Property Value

ExcelVbaSignature

SystemKind

System kind. Default Win32.

public eSyskind SystemKind { get; set; }

Property Value

eSyskind

Methods

Remove()

Remove the project from the package

public void Remove()

ToString()

The name of the project

public override string ToString()

Returns

string

Returns the name of the project