
The above takes care of creating a top-level menu item in the Microsoft Word menu bar. The final design of your custom menu should resemble the following:īuild, register and run your add-in project and you should now see your custom menu bar in Microsoft Word in-between the built-in File and Edit menus.Īdding custom menu item to a built-in Word menu
#ADDING VALUES TO DOCUMENT PROPERTIES WORD 2013 FREE#
You can determine the control IDs of pre-Ribbon Office controls by downloading our free Built-in Control Scanner utilityĬomplete the menu design by adding two ADXCommandBarButton controls to the ADXCommandBarPopup. 30003 is the internal ID of the Edit menu, and setting the BeforeID property to its value will cause our custom menu to be inserted before it on the Word main menu. Set its Caption Property to Publish and change the BeforeID property to 30003. Next, add an ADXCommandBarPopup control to the main menu by selecting it from the built-in visual designer’s toolbar. You’ll notice that the CommandBarName property’s value automatically changes to Menu Bar. Select the newly added ADXMainMenu component and set its SupportedApp property to Word. Using the Add-in Express ADXMainMenu component, you are able to add your custom menus to the Word menu bar or add your own menu items to the existing menus.īegin by adding a new ADXMainMenu component to your AddinModule designer surface. The Word main menu (aka menu bar) is the top-most menu visible in the Word application window. Since, we’ll look at Microsoft Word customization in this article, only select Microsoft Word in the list of supported applications.Ĭustomizing Microsoft Word main menu Adding a custom top-level menu item Select your programming language (we choose C# for our Word add-in, but you can use VB.NET or C++.NET too), and Microsoft Office 2003 as the minimum supported Office version, in this way we’ll get our addin to work across all versions of Word 2003 – 2013. We’ll start by creating a new COM Add-in project in Visual Studio with Add-in Express for Office and. Creating a COM Add-in for Word 2013 – 2003
