0

It's possible to create and open new workbook using Excel JavaScript API using Excel.createWorkbook()

Is there a way to activate a specific worksheet on this newly created workbook? The current context belongs to the original workbook that currently exists in the runtime.

1
  • Perhaps you might have better luck using something else other than office-js, like Sheets.JS? Commented Oct 27, 2023 at 23:26

1 Answer 1

1

That can't be done. An add-in running in the context of one workbook cannot call out to another one.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.