This repo contains the start and end states of an Excel Web Add-in tutorial that show users how to use the Excel.js to create a table, sort a table, filter a table, create a chart, freeze a row of a worksheet, protect the worksheet from editing, and create a custom button on the Excel ribbon.
- December 5th, 2017: Initial version.
- February 26th, 2018: Updated links and minor fixes to readme.
- March 27th, 2018: Updated readme to note Visual Studio version.
- An Office 365 account.
- Excel 2016, version 1711 (Build 8730.1000 Click-to-Run) or later. You might need to be an Office Insider to get this version. For more information, see Be an Office Insider.
- Node and npm (Not needed for the Visual Studio version. See below.)
- Visual Studio (needed only for the Visual Studio version. See below.)
- Git Bash (Or another git client.)
This sample is meant to accompany the tutorial at: Excel Tutorial.
There are three versions of the sample, in the folders Start and Completed, and VS_Solution.
To use the Before version and manually add the code, follow the procedures in the article linked to above. Then go on to each subsequent stage in the tutorial. Each one links to its successor.
To work with the Completed version, follow all the steps in the Setup section of the tutorial setup stage (but substitute "Completed" for "Start" in the instructions, and then follow the steps in the Test the add-in section of each stage of the tutorial.
To work with the VS_Solution (which is also a completed version), simply clone (or download) this repo, open the *.sln file, and press F5 when Visual Studio opens. Then press Show Taskpane on the Home menu, and press each of the buttons in the taskpane in order from top to bottom.
We'd love to get your feedback about this sample. You can send your feedback to us in the Issues section of this repository.
Questions about Microsoft Office 365 development in general should be posted to Stack Overflow. If your question is about the Office JavaScript APIs, make sure that your questions are tagged with [office-js] and [API].
- Office add-in documentation
- Office Dev Center
- More Office Add-in samples at OfficeDev on Github
This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact [email protected] with any additional questions or comments.
Copyright (c) 2017 Microsoft Corporation. All rights reserved.