Resumes the calculation of formulas. Syntax Remarks If calculations were not suspended when this is called, it will have no effect. For each call to SuspendCalculations, a call to ResumeCalculations must be made. As soon as the number of calls to ResumeCalculations equals the number of calls to SuspendCalculations...
Writes the workbook to a stream. Syntax Parameters stream The stream to write the workbook to.packageFactory An IPackageFactory which can be used to open an IPackage from a stream. Exceptions Exception Description System.ArgumentNullException stream is null. System.InvalidOperationException The workbook has no wor...
Writes the workbook to a stream. Syntax Parameters stream The stream to write the workbook to.saveOptions The options to use to save the stream or null to use the default options. Exceptions Exception Description System.ArgumentNullException stream is null. System.InvalidOperationException The workbook has no work...
Writes the workbook to a file. Syntax Parameters fileName The file to write the workbook to.packageFactory An IPackageFactory which can be used to open an IPackage from a stream. Exceptions Exception Description System.InvalidOperationException The workbook has no worksheets in its Worksheets collection. System.In...
Writes the workbook to a file. Syntax Parameters fileName The file to write the workbook to.saveOptions The options to use to save the file or null to use the default options. Exceptions Exception Description System.InvalidOperationException The workbook has no worksheets in its Worksheets collection. System.Inval...
Writes the workbook to a file. Overload List
Gets or sets the value which indicates whether to save values linked from external workbooks. Syntax Property Value The value which indicates whether to save values linked from external workbooks. Remarks This value will only be used when the workbook is opened in Microsoft Excel. When referencing external values ...
Gets or sets the Dpi to use when calculating row and column sizes for the workbook. If empty, the system Dpi will be used. Syntax Exceptions Exception Description System.ArgumentException Occurs when the specified value is not empty and does not have two positive values.
Sets the current format of the workbook. Syntax Parameters format The file format to use when imposing format restrictions and saving. Exceptions Exception Description System.ComponentModel.InvalidEnumArgumentException format is not defined in the WorkbookFormat enumeration. System.InvalidOperationException The wo...
Sets the encryption modes to use to encrypt documents saved in the 2007 file formats and later. Syntax Parameters encryptionMode