NativeExcel for .Net Developer's Reference

IWorkbook Members

IWorkbook overview

Public Instance Properties

ActiveSheet Returns an IWorksheet that represents the active worksheet in the specified workbook. Returns null if no worksheet is active.
Colors Returns an IPalette interface that represents the color palette of the specified workbook.
Names Returns an INames collection that represents all the defined names in the specified workbook.
ReferenceStyle Gets or sets how Microsoft Excel displays cell references and row and column headings in either A1 or R1C1 reference style.
Worksheets Returns an IWorksheets interface that represents all the worksheets in the specified workbook.

Public Instance Methods

ClearVBA Removes preserved VBA block from the workbook.
OpenOverloaded. Opens an existing workbook.
ProtectOverloaded. Protects a workbook so that it cannot be modified.
ResetColors Resets the color palette to the default colors.
SaveAsOverloaded. Saves workbook to file or stream.
SaveAsHTML Saves workbook in HTML file. Returns 1 if it succeeds
UnprotectOverloaded. Removes protection from a workbook. This method has no effect if the workbook isn't protected.

See Also

IWorkbook Interface | NativeExcel Namespace | Factory