Recommended approach to adding web pane to Excel worksheet

Tim Habersack 0 Reputation points
2024-05-24T14:14:40.7666667+00:00

We are using the Javascript API to write an Excel add-in. The app runs well in the task pane. We are making good headway on that, but there is a specific feature we want to support that is challenging to find an answer for:

How can we utilize the Javascript API to embed a web pane within a sheet in Excel? We would have a set of html content we would want to render within a web pane. It would be html-based text that, once dropped in a web pane, would pull in more Javascript to render a visualization. For simplicity sake, think of a button in the task pane for our add-in that, when clicked, drops that html into the highlighted cell on the worksheet.

Separately, is it easier or more challenging to have a web pane that essentially a web browser view?

We believe that "Content Office Add-ins" (https://learn.microsoft.com/en-us/office/dev/add-ins/design/content-add-ins#implementation) makes this potentially possible, but I would love clarification.

Thank you in advance.

Excel
Excel
A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
1,947 questions
JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
994 questions
Office Development
Office Development
Office: A suite of Microsoft productivity software that supports common business tasks, including word processing, email, presentations, and data management and analysis.Development: The process of researching, productizing, and refining new or existing technologies.
3,963 questions
0 comments No comments
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.