Office UI customization walkthroughs
Applies to: Visual Studio Visual Studio for Mac
Note
This article applies to Visual Studio 2017. If you're looking for the latest Visual Studio documentation, see Visual Studio documentation. We recommend upgrading to the latest version of Visual Studio. Download it here
The following walkthroughs demonstrate ways that you can customize the user interface (UI) of Microsoft Office applications by using document-level customizations and VSTO Add-ins.
Actions pane walkthroughs
Walkthrough: Insert text into a document from an actions pane Demonstrates how to create an actions pane in a Word document. The actions pane contains two controls that send user input to the document.
Walkthrough: Bind data to controls on a Word actions pane Demonstrates how to bind controls on an actions pane in Word to data. The controls demonstrate a master/detail relation between tables in a SQL Server database.
Walkthrough: Bind data to controls on an Excel actions pane Describes how to add controls that are bound to a data source to an actions pane in Excel.
Custom task pane walkthroughs
Walkthrough: Automate an application from a custom task pane Demonstrates how to create a custom task pane that contains a control that automates the host application when the user clicks the control.
Walkthrough: Synchronize a custom task pane with a Ribbon button Demonstrates how to create a custom task pane that users can hide or display by clicking a toggle button on the ribbon.
Walkthrough: Display custom task panes with email messages in Outlook Demonstrates how to display a unique instance of a custom task pane with each e-mail message that is created or opened in Outlook.
Ribbon walkthroughs
Walkthrough: Create a custom tab by using the Ribbon Designer Demonstrates how to create a custom ribbon tab by using the Ribbon Designer. The tab contains a button that can be used to hide or display an actions pane.
Walkthrough: Update the controls on a Ribbon at run time Demonstrates how to use the Ribbon object model to update the controls on a ribbon after the ribbon is loaded into the Office application.
Walkthrough: Create a custom tab by using Ribbon XML Demonstrates how to create a custom ribbon tab by using ribbon XML instead of using the Ribbon Designer.
Controls on Word documents
Walkthrough: Add controls to a document at run time in a VSTO Add-In Demonstrates how to add controls to a document by using a VSTO Add-in.
Walkthrough: Change document formatting using CheckBox controls Demonstrates how to change formatting in a Word document by using check boxes in a document-level customization.
Walkthrough: Display text in a text box in a document using a button Demonstrates how to use buttons and text boxes on Word documents.
Walkthrough: Update a chart in a document using Radio buttons Demonstrates how to change chart styles in a Word document by using option buttons in a document-level customization.
Controls on Excel worksheets
Walkthrough: Add controls to a worksheet at run time in VSTO add-in project Demonstrates how to add controls to a worksheet by using a VSTO Add-in.
Walkthrough: Change worksheet formatting using CheckBox controls Demonstrates the basics of using check boxes on an Excel worksheet to change formatting.
Walkthrough: Display text in a text box in a worksheet using a button Demonstrates the basics of using buttons and text boxes on Excel worksheets.
Walkthrough: Update a chart in a worksheet using radio buttons Shows the basics of changing chart styles using option buttons on an Excel worksheet.