Engine Global Management
| API | Description | Example |
|---|---|---|
| Application.ActiveCell | Property that returns a range object corresponding to the selected cell within the active sheet of the active integrated document in the engine global cf) When a range is active, it is specified as the top-left cell | let application = instance.Application; let activeCell = application.ActiveCell; |
| Application.ActiveChart | Property that returns the selected chart object within the active sheet of the active workbook in the engine global | let application = instance.Application; let activeChart = application.ActiveChart; |
| Application.ActiveSheet | Property that returns the active sheet object of the active workbook in the engine global | let application = instance.Application; let activeSheet = application.ActiveSheet; |
| Application.ActiveWorkbook | Property that returns the active workbook object in the engine global | let application = instance.Application; let activeWorkbook = application.ActiveWorkbook; |
| Application.Calculation | Property that returns or changes the global calculation method | let application = instance.Application; console.log(application.Calculation); application.Calculation = instance.Enums.XlCalculation.xlCalculationManual; |
| Application.Cells | Property that returns a range object that manages all cells within the active sheet of the active workbook in the engine global | let application = instance.Application; let cells = application.Cells; |
| Application.Columns | Property that returns a range object that manages columns within the active sheet of the active workbook in the engine global | let application = instance.Application; let columns = application.Columns; |
| Application.DefaultSaveFormat | Property that returns or changes the default save file format globally | let application = instance.Application; console.log(application.DefaultSaveFormat); application.DefaultSaveFormat = instance.Enums.XlFileFormat.xlCSV; |
| Application.DisplayAlerts | Property that returns or changes whether to display alert messages when necessary | let application = instance.Application; console.log(application.DisplayAlerts); application.DisplayAlerts = false; |
| Application.Rows | Property that returns a range object that manages rows within the active sheet of the active workbook in the engine global | let application = instance.Application; let rows = application.Rows; |
| Application.Selection | Property that returns the selected object within the active sheet of the active workbook in the engine global cf) Objects such as range, shape, and chart | let application = instance.Application; let selection = application.Selection; switch (selection.ActualType) { case "Range": { break; } default: { break; } } |
| Application.SheetsInNewWorkbook | Property that returns or changes the default number of sheets when creating a new document | let application = instance.Application; console.log(application.SheetsInNewWorkbook); application.SheetsInNewWorkbook = 1; |
| Application.Worksheets | Property that returns the sheet manager object of the active workbook in the engine global | let application = instance.Application; let worksheets = application.Worksheets; |
| Application.Range | Function that specifies a specific range of the active sheet of the active workbook in the engine global | let application = instance.Application; let range = application.Range("A1"); |
| Application.Calculate | Function that recalculates changed formulas in all open workbooks | let application = instance.Application; application.Calculate(); |
| Application.CalculateFull | Function that recalculates all formulas in all open workbooks | let application = instance.Application; application.CalculateFull(); |
| Application.CalculateFullRebuild | Function that recalculates all formulas including dependencies in all open workbooks | let application = instance.Application; application.CalculateFullRebuild(); |
| Application.CentimetersToPoints | Function that converts a numeric value in centimeters (cm) to points (pt) | let application = instance.Application; console.log(application.CentimetersToPoints(10)); |
| Application.Goto | Function that selects a specific range and activates the workbook and sheet containing that range | let application = instance.Application; let target = application.Worksheets.Item(1).Range("A1:B2"); application.Goto(target) |
| Application.InchesToPoints | Function that converts a numeric value in inches to points (pt) | let application = instance.Application; console.log(application.InchesToPoints(10)); |
| Application.Intersect | Function that specifies the intersection range from two or more ranges | let application = instance.Application; let b2c3Range = application.Intersect(application.Range("A1:C3"), application.Range("B2:D4")); |
| Application.Union | Function that specifies the union range of two or more ranges | let application = instance.Application; let a1b2Andc3d4Range = application.Union(application.Range("A1:B2"), application.Range("C3:D4")); |
Related Features
Spreadsheet Basic Functions , Integrated Document Management , Integrated Document , Sheet Management , Sheet , Range , Area , Engine Object Common