开始使用 Excel 加载项Get started with Excel add-ins

可以使用熟悉的 Web 技术(如 HTML、CSS 和 JavaScript)创建 Excel 加载项。You can create an Excel add-in using familiar web technologies such as HTML, CSS, and JavaScript.

创建你的第一个 Excel 加载项Create your first Excel add-in

若要开始操作,请完成本节的任一演练,使用 ReactAngularjQueryVue 创建 Excel 加载项。To get started, complete one of the walkthroughs in this section to create an Excel add-in using React, Angular, jQuery, or Vue. 每个演练都提供分步指南,用于创建一个简单的任务窗格加载项,该加载项使用 Excel JavaScript API 与工作表进行交互。Each walkthough provides step-by-step guidance for creating a simple task pane add-in that uses the Excel JavaScript API to interact with a worksheet.

通过脚本实验室探索片段Explore snippets with Script Lab

使用脚本实验室工具,可以直接从 Office 应用程序(如 Excel、Word 和 PowerPoint)创建、运行和共享 Office 加载项代码。 可以从 AppSource 免费安装 Script Lab,并在 Excel 中启动它,以探索与工作簿数据进行交互的内置示例集合。 然后,使用它来编写和执行自己的 Excel JavaScript API 代码,与电子表格进行交互。 有关详细信息,请参阅脚本实验室,Microsoft Garage 项目Script Lab is a tool that enables you to create, run, and share your Office Add-in code directly from Office applications such as Excel, Word, and PowerPoint. You can install Script Lab for free from AppSource and launch it in Excel to explore its collection of built-in samples that interact with data in the workbook. Then, use it to write and execute your own Excel JavaScript API code that interacts with your spreadsheet. For more information, see Script Lab, a Microsoft Garage project.

重要

Script Lab 是实验性工具,可用于了解如何在 Excel、Word 和 PowerPoint 中开发 Office 加载项。 它是 Microsoft Garage 项目,不是 Microsoft 官方产品。 对于脚本实验室,Microsoft 不做任何明示或暗示的担保。Script Lab is an experimental tool that you can use to learn about developing Office Add-ins in Excel, Word, and PowerPoint. It was developed as a Microsoft Garage project and is not an official Microsoft product. Microsoft makes no warranties, express or implied, with respect to Script Lab.