An open API service indexing awesome lists of open source software.

https://github.com/hongbo-miao/office-addin-angular

To help you learn to use Office.js and Angular build an Excel add-in
https://github.com/hongbo-miao/office-addin-angular

angular excel office-js

Last synced: 4 months ago
JSON representation

To help you learn to use Office.js and Angular build an Excel add-in

Awesome Lists containing this project

README

          

# Color me

This project is showing how you can use Office.js and Angular 4 to build an Excel add-in.

## How to run

1. To run the add-in, you need side-load the add-in within the Excel application. The section below describes the way of side-loading of manifest file in different platforms.

- On Windows, follow [this tutorial](https://dev.office.com/docs/add-ins/testing/create-a-network-shared-folder-catalog-for-task-pane-and-content-add-ins).

- On macOS, move the manifest file `office-add-in-angular-manifest.xml` to the folder `/Users/{username}/Library/Containers/com.microsoft.Excel/Data/Documents/wef` (if not exist, create one)

- For Excel Online, use the upload my add-in button from the add-in command dialog to upload the manifest file.

2. Run `ng serve` or `npm start` in the terminal for a dev server.

3. Open Excel and click the Add-in to load.

angular

## How to create a new project by yourself

Follow the step by step tutorial [here](https://github.com/Hongbo-Miao/office-addin-quick-start/blob/master/angular.md).

## Learn more

To learn more about JavaScript API for Office (Office.js), please check [here](https://dev.office.com/reference/add-ins/javascript-api-for-office).