Programming Microsoft Office 365 Guide
In the VS Code terminal, run npm install to load dependencies.
Before coding, ensure you have the necessary tools installed and an active sandbox environment:
: Use Visual Studio Code as your primary editor. Programming Microsoft Office 365
Open VS Code and click the icon in the Activity Bar. Select Create a New App and then choose Office Add-in . Select Task pane as the feature type.
Choose a workspace folder and name your project (e.g., MyOfficeFeature ). In the VS Code terminal, run npm install
: Sign up for a free Microsoft 365 Developer subscription to get a renewable 90-day sandbox with sample data.
The feature will appear as a button in the ribbon or a side panel. Alternative: AI-Generated Features Select Create a New App and then choose Office Add-in
Use a generator to create the basic files and structure for your feature: