Class
ExcelMacroProject
OfficeIMO.Excel
A VBA project attached to an Excel workbook. Reading it never executes macro code.
Inheritance
- object
- ExcelMacroProject
Usage
Explore 1 API references to this type
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by 1
- Method ExcelDocument.AddMacro
Methods
public void Save(string path, long maximumBytes = 67108864) #Saves the attached project bytes to a file.
Parameters
- path string
- maximumBytes long = 67108864
public byte[] ToBytes(long maximumBytes = 67108864) #Reads the attached project's bytes subject to the specified maximum size.
Parameters
- maximumBytes long = 67108864
Returns
byte[]