Seeking a introduction level how-to article for Visual Studio VSTO Word Ribbon button code basic set up

David M. Peck 20 Reputation points
2024-05-28T16:58:47.73+00:00

I've been coding VBA for 25 years. Now I need to deploy a word ribbon with buttons that will drive some sophisticated Word templates. I have read dozens of MS documentation files and still do not clearly understand what code goes in the ribbon call back, what code goes in the button click event, and what code goes in the word template file. Is there an article that anyone can point me to that clearly articulates the relationship between these various components in the environment? Ultimately I'm seeking to trigger code in the Word template file sited in the Word start up folder by clicking the button on the ribbon tab.

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,663 questions
Word Management
Word Management
Word: A family of Microsoft word processing software products for creating web, email, and print documents.Management: The act or process of organizing, handling, directing or controlling something.
904 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Jiajing Hua-MFST 6,915 Reputation points Microsoft Vendor
    2024-05-29T07:11:43.8366667+00:00

    Hi @David M. Peck

    I find an article, hope it could be helpful:

    Walkthrough: Create a custom tab by using Ribbon XML

    0 comments No comments