Class ExcelVbaProject
Represents the VBA project part of the package
Inheritance
Object
ExcelVbaProject
Inherited Members
Object.Equals(Object)
Object.Equals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Object.ReferenceEquals(Object, Object)
Namespace: OfficeOpenXml.VBA
Assembly: EPPlus.dll
Syntax
public class ExcelVbaProject
Properties
CodePage
Codepage for encoding. Default is current regional setting.
Declaration
public int CodePage { get; }
Property Value
| Type | Description |
|---|---|
| Int32 |
CompatVersion
The compatible version for the VBA project. If null, this record is not written.
Declaration
public uint? CompatVersion { get; set; }
Property Value
| Type | Description |
|---|---|
| Nullable<UInt32> |
Constants
Conditional compilation constants
Declaration
public string Constants { get; set; }
Property Value
| Type | Description |
|---|---|
| String |
Description
A description of the project
Declaration
public string Description { get; set; }
Property Value
| Type | Description |
|---|---|
| String |
HelpContextID
Context if refering the helpfile
Declaration
public int HelpContextID { get; set; }
Property Value
| Type | Description |
|---|---|
| Int32 |
HelpFile1
A helpfile
Declaration
public string HelpFile1 { get; set; }
Property Value
| Type | Description |
|---|---|
| String |
HelpFile2
Secondary helpfile
Declaration
public string HelpFile2 { get; set; }
Property Value
| Type | Description |
|---|---|
| String |
Modules
Code Modules (Modules, classes, designer code)
Declaration
public ExcelVbaModuleCollection Modules { get; set; }
Property Value
| Type | Description |
|---|---|
| ExcelVbaModuleCollection |
Name
Name of the project
Declaration
public string Name { get; set; }
Property Value
| Type | Description |
|---|---|
| String |
Protection
VBA protection
Declaration
public ExcelVbaProtection Protection { get; }
Property Value
| Type | Description |
|---|---|
| ExcelVbaProtection |
References
Project references
Declaration
public ExcelVbaReferenceCollection References { get; set; }
Property Value
| Type | Description |
|---|---|
| ExcelVbaReferenceCollection |
Signature
The digital signature
Declaration
public ExcelVbaSignature Signature { get; }
Property Value
| Type | Description |
|---|---|
| ExcelVbaSignature |
SystemKind
System kind. Default Win32.
Declaration
public eSyskind SystemKind { get; set; }
Property Value
| Type | Description |
|---|---|
| eSyskind |
Methods
Remove()
Remove the project from the package
Declaration
public void Remove()
ToString()
The name of the project
Declaration
public override string ToString()
Returns
| Type | Description |
|---|---|
| String | Returns the name of the project |
Overrides
System.Object.ToString()