Open links in new tab
  1. Excel JavaScript API overview - Office Add-ins | Microsoft Learn

    • See Excel JavaScript object model in Office Add-ins for information about important object model concepts.
      For hands-on experience using the Excel JavaScri… See more

    Overview

    An Excel add-in interacts with objects in Excel by using the Office JavaScript API, which includes two JavaScript object models:

    Microsoft Learn
    Learn API capabilities

    Each major Excel API feature has an article or set of articles exploring what that feature can do and the relevant object model.
    •Charts

    Microsoft Learn
    Try out code samples in Scri…

    Use Script Lab to get started quickly with a collection of built-in samples that show how to complete tasks with the API. You can run the samples in Script Lab to instantly see the result in the task pane or worksheet, examine the samples to learn how the API works, and even use samples to prototype your own add-in.

    Microsoft Learn
  1. Excel JavaScript Add-ins allow developers to extend Excel's functionality across platforms like Windows, Mac, iPad, and the web. These add-ins leverage the Office JavaScript API, which includes the Excel JavaScript API for Excel-specific tasks and the Common API for shared Office features like UI and dialogs.

    Key Features of Excel Add-ins

    1. Cross-Platform Support: Add-ins work seamlessly on Excel for Windows, Mac, iPad, and the web.

    2. Web-Based Development: Built using standard web technologies like HTML, CSS, and JavaScript.

    3. Centralized Deployment: Administrators can deploy add-ins organization-wide.

    4. Custom UI Integration: Add-ins can include custom ribbon buttons, task panes, and context menus.

    5. Custom Functions: Developers can define new Excel functions in JavaScript, accessible like native functions (e.g., SUM()).

    6. Rich Interactions: Add-ins can open dialog boxes, embed charts, or interact with external APIs like Microsoft Graph.

    Components of an Excel Add-in

    Like
    Dislike
    1. How to Build a Microsoft Office Add-in with …

      Apr 9, 2025 · Learn how to build a modern Microsoft Office Add-in using JavaScript in 2025. This step-by-step guide covers setup, development, testing, deployment, and integration with Microsoft Graph and AI.

    2. Office Add-ins: Build Office Add-ins for Excel - GitHub

      Microsoft Office clients enable developers to create add-ins that extend Microsoft Excel with custom functionality. Through a JavaScript API, developers can manipulate the content in an …

    3. Excel JavaScript API | SheetJS Community Edition

      "What do you want to name your add-in?": Type SheetJSImport and press Enter. The generator will create the project and install dependencies. If prompted to Allow localhost loopback for Microsoft Edge WebView, type N …

    4. How I Built a Simple Excel Plugin with the Office JavaScript API

      May 24, 2025 · If you’ve ever thought about building your own Excel add-in, or you’re just curious how it works, this post is for you! Let users click a button inside Excel, fetch data from an API, …

    5. Work with worksheets using the Excel JavaScript API

      Apr 23, 2025 · Code samples that show how to perform common tasks with worksheets using the Excel JavaScript API.

    6. Developing Microsoft Excel Extensions with …

      Nov 14, 2024 · In this article, we’ll dive into the world of Excel add-in development using Office.js, guiding you through the process with practical examples and step-by-step instructions. Why Office.js? Office.js is a …

    7. How to Use Office.js APIs to Supercharge Excel …

      Apr 9, 2025 · This comprehensive guide will delve into how to utilize Office.js APIs to create feature-rich Excel add-ins, covering setup, development, deployment, and best practices.

    8. Excel JavaScript API programming overview

      It introduces key concepts that are fundamental to using the APIs, such as RequestContext, JavaScript proxy objects, sync (), Excel.run (), and load (). The code examples at the end of the …

    9. Excel JavaScript object model in Office Add-ins

      Mar 21, 2023 · Learn the key object types in the Excel JavaScript APIs and how to use them to build add-ins for Excel.

  2. People also ask