IntroductionCustomization of office 2007 application like word or excel is very easy with Visual studio 2008. Now a day lot of real time business requirement is accomplished by the Office customization. Office ribbon is providing rich UI and you can add your own custom tab on it very quickly.This article describes step-by-step method for creating Custom Tab in Excel/Word 2007 at UI Ribbon. User doesn't need to write a single line of code for achieving the functionality described in this article. All code is automatically generated by Visual Studio 2008 Project Template.Step-by-step description starting from here. Step 1: Create new Excel 2007 Add-in projectIn the solution explorer you can see as following image.ThisAddIn.cs contain required method for designer SupportStep 2 In this step you can add new ribbon visual Designer to the project. Right Click on the Project file->Add -> Select New Item in the Office category -> select Ribbon (Visual designer)In the solution explorer you can see RibbonCustom.cs file and also its designer viewStep 3In the designer view of RibbonCustom.cs, from tool box add new Tab in to bottom panel of the RibbonStep 4 Now ... You can see the new tab. From Properties of new Tab, you can set your own name and labelStep 5Add your own control to the tab from Tools. Remember that for adding any control first need to add "Group". All controls (like Button, Label, Gallery etc) is the child of Group control Step 6Easy ... Press F5 button it will build and run one excel with your custom tab on the ribbonCool... Right? Please Try it.How to publish the setup of this project?From Visual studio tool bar Click on Build item and select Publish ExcelAddinCustom Tab and follow the wizard it will create the setup.exe at selected folder Create Custom Tab for Word 2007Create New Project and select Word 2007 Add-in template from office category and follow the same step as described for Excel Add-inHow to disable the Add-in?
You need to be a premium member to use this feature. To access it, you'll have to upgrade your membership.
Become a sharper developer and jumpstart your career.
$0
$
. 00
monthly
For Basic members:
$20
For Premium members:
$45
For Elite members: