![]() ![]() Open the Visual Basic Editor, and add the following procedure to the ThisDocument code module. Validate the XML markup with a custom schema.Ĭreate a document in Word and save it with the name RibbonSample.docm. Ĭreate a folder on your desktop named customUI and copy the XML customization file to the folder. You also implement a callback procedure for the button that inserts a company name into the document.Ĭreate the customization file in any text editor and save the file with the name customUI.xml.Īdd the following XML markup to the file and then close and save the file. In the following steps, you add a custom tab, a custom group, and a custom button to the existing ribbon in Word. The code example in this topic shows how to add custom components to the ribbon for a single document, as opposed to adding application-level customizations. Ribbon Extensibility (RibbonX) uses a simple, text-based, declarative XML markup to create and customize the ribbon. The ribbon component of the Microsoft Office Fluent user interface gives users a flexible way to work with Office applications. ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |