Excel.RequestContext class

The RequestContext object facilitates requests to the Excel application. Since the Office add-in and the Excel application run in two different processes, the request context is required to get access to the Excel object model from the add-in.

Extends
OfficeExtension.ClientRequestContext

Constructors

(constructor)(url)

Constructs a new instance of the RequestContext class

Properties

application
runtime

[ API set: ExcelApi 1.5 ] *

workbook

Constructor Details

(constructor)(url)

Constructs a new instance of the RequestContext class

constructor(url?: string | Session);

Parameters

url
string | Session

Property Details

application

readonly application: Application;

Property Value

runtime

[ API set: ExcelApi 1.5 ] *

readonly runtime: Runtime;

Property Value

workbook

readonly workbook: Workbook;

Property Value