Is it possible for a Next.js web app to open Microsoft Word with a specific Word Add-in (built with React) on button click?

Khoa 45 Reputation points
2025-07-13T16:04:41.9+00:00

Hi everyone,

I’m currently developing a web application using Next.js, and I also have a Microsoft Word Add-in that was built with ReactJS.

I would like to ask:

Is there any way for my web app to open Microsoft Word and automatically load this specific Word Add-in when a user clicks a button on the web app?

I’ve looked through the Office Add-ins documentation but haven’t found a clear solution for triggering Microsoft Word and activating a specific Add-in directly from a browser-based web application.

If anyone has experience with this scenario or knows whether this is achievable, could you please share your insights or point me to relevant documentation?

Thank you very much in advance for your help!

Microsoft 365 and Office | Development | Office JavaScript API
0 comments No comments
{count} votes

Accepted answer
  1. Dora-T 3,225 Reputation points Microsoft External Staff Moderator
    2025-07-14T01:35:01.1233333+00:00

    Hi @Khoa

    Welcome to the Microsoft Q&A Forum. 

    I understand you're looking to open Microsoft Word and automatically load a specific Word Add-in from a button click in your Next.js web application. 

    After carefully reviewing Microsoft’s public documentation, there doesn’t appear to be any supported method or API that allows a browser-based web application to directly launch the Word desktop client and programmatically activate or preload a specific Office Add-in. 

    You can read more about current deployment and activation models here: 

    I know this may not be the outcome you were hoping for, and I truly appreciate the time you've spent researching this scenario. As a moderator, my role is to help guide discussions and provide support based on publicly available Microsoft documentation and knowledge shared within the community. At this time, there is no indication from Microsoft that this type of functionality is supported.

    Thank you for your patience and understanding. If you have any further questions, please feel free to reach out to us again.


    If my answer was even partially helpful, please kindly mark it as accepted so others with the same issue can benefit as well.    

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful

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.