

To display and programmatically work with the workbook on a host web page, you must create and insert embed code into the HTML of the host web page. For more information about how to share a workbook that is stored on OneDrive, see How do I change who can access my folders, files, and photos?.

The workbook must be shared to the public from OneDrive. Store the workbook on OneDriveīefore you can embed a workbook on your web page the workbook must be available to view publicly. To work programmatically with an embedded workbook, you must do two things: store the Excel workbook on OneDrive and insert ECMAScript (JavaScript, JScript) code into the web page to programmatically embed the workbook. In this topic, you learn how you can use the Excel ServicesECMAScript (JavaScript, JScript) (JavaScript) API to programmatically work with an embedded Excel workbook that is stored on OneDrive.

For more information about how to embed a workbook on a web page using an HTML, see Embed an Excel workbook on a web page
