Is opening a new Excel file from a Word web add-in even possible?

Ricardo Jose Barrera Arellano 0 Reputation points
2024-02-12T00:23:24.8233333+00:00

I have tried several things without luck. But, the main thing is that my code hits Excel.createWorkbook(); and it throws an error saying that Excel is not defined. I can do whatever I can with Word.whateverNeeded() but not with Excel.anotherThingNeeded() What do I need to add in order for the Excel namespace to be recognized there? What I am trying to do here is that my Word Add-in grabs data from the active document and places that data into a new Excel workbook. Can somebody please help me?

JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
830 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,310 questions
0 comments No comments
{count} votes