Adapter process running in the background that functions as an intermediary between the client-side API and Microsoft’s Excel Interop API.
Adds a listener for the specified application-level event.
Type of the application-level event to listen for.
Function called when the specified event occurs.
Adds a listener that is called when a workbook is created.
Name of the event fired when a workbook is created.
Listener function called when the event occurs.
Triggers calculation for all open workbooks.
Only necessary when the calculation mode is not set to Automatic
.
Creates a new Excel workbook.
The workbook that was created.
Get the current calculation mode which determines when a workbook or worksheet is calculated.
Note: This function requires that the actual Excel application must be running.
The name of the current calculation mode.
Gets all workbooks currently open in Excel.
All currently open workbooks.
Opens a workbook from a given file path.
If the workbook file is already open in Excel, the existing Excel window will be given focus.
Absolute path where the workbook file is located.
The workbook that was opened.
Quits Excel closing all open workbooks in the process.
If any open workbooks have unsaved changes, Excel displays a "Save" prompt before closing the workbook. You can prevent this by either
saving all open workbooks prior to calling quit or by setting the displayAlerts
parameter to false
(be careful doing this though,
any unsaved workbook changes will be lost).
Note: After calling this function, do not attempt to use any existing workbook or worksheet objects. Doing so will likely result in an AdapterError since the underlying object/file is no longer available.
Determines whether Excel will display a "Save" prompt for any workbooks with unsaved changes (defaults to true
).
Removes a previously added listener for the specified application-level event.
Function that was provided as the listener when addEventListener was called.
Generated using TypeDoc
Represents the Excel application process.