How we can trigger bookmark event using Word VSTO Add-In with Visual Studio 2022?

Singh, Mahkar (Capita Software) 1 Reputation point
2022-09-05T10:41:32.897+00:00

Using Visual Studio 2022 C#, we have to write a Windows desktop application that allows the user to update bookmarked fields in existing Word templates, using macros to create pop-ups with text boxes for users to type in, or radio buttons to select options. We have 1700+ templates that we need to be able to use without making any changes.

We tried using Word VSTO Document but it doesn't give us the flexibility to create a generic application as it seems to be bound to the individual document.
We then tried Word VSTO Add-in but no event is triggered when the user selects the bookmark.

Please advise us on a suitable approach.

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,489 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Singh, Mahkar (Capita Software) 1 Reputation point
    2022-10-06T05:45:08.75+00:00

    Before clicking on the bookmark event if we register the event, it works as expected.

    0 comments No comments