0

I am trying to develop an extension that runs on a Windows machine and supports a commercial Office 2019 Excel. Excel uses IE11 perpetual browser for this. When trying to load the name using

workbook.load("name"); await context.sync();

It gives "The API you are trying to use could not be found. It may be available in a newer version of Excel" . On doing a console.log(), I get against that property.

Can anybody help on what is the recommended way to fetch workbook name in Excel add-in?

Eugene Astafiev
  • 47,483
  • 3
  • 24
  • 45
  • On further checking through F12, found that somewhere workbook.comments is being invoked within context.sync() which is not supported until 1.10 Excel Api. This could be a probable cause but could not figure out how to not execute it. – na1taneja2821 Sep 29 '22 at 10:34
  • This part of your question is missing some words: "I get against that property". Please reproduce your issue in the Script Lab tool, export a gist, and provide the URL of the gist. – Rick Kirkham Sep 29 '22 at 20:31
  • Script Lab does not work with Office 2019 commercial versions anymore because of IE11 dependency. @RickKirkham - Please provide any alternate steps for this. – na1taneja2821 Oct 11 '22 at 19:14

0 Answers0