Excel.RequestContext class
Das RequestContext-Objekt erleichtert Anforderungen an die Excel-Anwendung. Da das Office-Add-In und die Excel-Anwendung in zwei verschiedenen Prozessen ausgeführt werden, ist der Anforderungskontext erforderlich, um vom Add-In aus Zugriff auf das Excel-Objektmodell zu erhalten.
Hinweise
Verwendet von
- Excel: Ausführen
- Excel.Application: context
- Excel.Binding: Kontext
- Excel.BindingCollection: Kontext
- Excel.Chart: Kontext
- Excel.ChartAreaFormat: Kontext
- Excel.ChartAxes: Kontext
- Excel.ChartAxis: Kontext
- Excel.ChartAxisFormat: Kontext
- Excel.ChartAxisTitle: Kontext
- Excel.ChartAxisTitleFormat: Kontext
- Excel.ChartCollection: Kontext
- Excel.ChartDataLabelFormat: Kontext
- Excel.ChartDataLabels: Kontext
- Excel.ChartFill: Kontext
- Excel.ChartFont: Kontext
- Excel.ChartGridlines: Kontext
- Excel.ChartGridlinesFormat: Kontext
- Excel.ChartLegend: Kontext
- Excel.ChartLegendFormat: Kontext
- Excel.ChartLineFormat: Kontext
- Excel.ChartPoint: Kontext
- Excel.ChartPointFormat: Kontext
- Excel.ChartPointsCollection: Kontext
- Excel.ChartSeries: Kontext
- Excel.ChartSeriesCollection: Kontext
- Excel.ChartSeriesFormat: Kontext
- Excel.ChartTitle: Kontext
- Excel.ChartTitleFormat: Kontext
- Excel.Filter: Kontext
- Excel.FormatProtection: Kontext
- Excel.FunctionResult: Kontext
- Excel.Functions: Kontext
- Excel.NamedItem: Kontext
- Excel.NamedItemCollection: Kontext
- Excel.Range: Kontext
- Excel.RangeBorder: Kontext
- Excel.RangeBorderCollection: Kontext
- Excel.RangeFill: Kontext
- Excel.RangeFont: Kontext
- Excel.RangeFormat: Kontext
- Excel.RangeSort: Kontext
- Excel.Table: Kontext
- Excel.TableCollection: Kontext
- Excel.TableColumn: Kontext
- Excel.TableColumnCollection: Kontext
- Excel.TableRow: Kontext
- Excel.TableRowCollection: Kontext
- Excel.TableSort: Kontext
- Excel.Workbook: Kontext
- Excel.Worksheet: Kontext
- Excel.WorksheetCollection: Kontext
- Excel.WorksheetProtection: Kontext
Beispiele
// *.run methods automatically create an OfficeExtension.ClientRequestContext
// object to work with the Office file.
await Excel.run(async (context: Excel.RequestContext) => {
const workbook = context.workbook;
// Interact with the Excel workbook...
});
Konstruktoren
| (constructor)(url) | Erstellt eine neue Instance der |
Eigenschaften
| application | |
| workbook |
Details zum Konstruktor
(constructor)(url)
Erstellt eine neue Instance der RequestContext Klasse
constructor(url?: string | Session);
Parameter
- url
-
string | Excel.Session