Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Open With ExcelNew to Visual Studio Code? Get it now.
Open With Excel

Open With Excel

Linkbai

| (0) | Free
在 VS Code 资源管理器右键菜单中用 Excel 打开表格文件。
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Open With Excel

简体中文 · Changelog

Open a spreadsheet in Microsoft Excel with a right-click in VS Code's Explorer. Supports .xlsx, .xls, .xlsm, and .csv files.

Current version: 1.0.2.

Before you start

  • Use the desktop version of VS Code 1.80.0 or later on Windows.
  • Install Microsoft Excel on the same computer.
  • Have the open-with-excel-1.0.2.vsix installation file ready.

Install the extension

  1. Save the supplied open-with-excel-1.0.2.vsix file to your computer.
  2. Open VS Code and press Ctrl+Shift+X to open Extensions.
  3. Click … at the top of the Extensions view and choose Install from VSIX….
  4. Select open-with-excel-1.0.2.vsix and wait for installation to finish.
  5. If VS Code asks you to reload, select Reload. Find Open With Excel in your installed extensions and confirm that it is enabled.

This uses VS Code's official Install from VSIX workflow.

Open your first spreadsheet

  1. In VS Code, select File → Open Folder… and choose a folder containing a spreadsheet, such as sales.xlsx.
  2. Press Ctrl+Shift+E to open Explorer and find the file.
  3. Right-click the file and select 用 Excel 打开 (Chinese for “Open with Excel”; this is the current menu label).
  4. The spreadsheet opens in the Microsoft Excel desktop application.

Set the Excel path if needed

If you see 找不到 Excel (“Excel not found”), tell the extension where Excel is installed:

  1. Press Ctrl+, to open Settings.
  2. Search for openWithExcel.excelPath.
  3. Under Open With Excel: Excel Path, enter the full path to EXCEL.EXE, without surrounding quotation marks.
  4. Right-click the spreadsheet in Explorer and try again.

The default installation location is:

C:\Program Files\Microsoft Office\root\Office16\EXCEL.EXE

Some Office installations use:

C:\Program Files (x86)\Microsoft Office\root\Office16\EXCEL.EXE

Use the path that exists on your computer. You can check these folders in Windows File Explorer.

Troubleshooting

  • The menu item is missing: right-click a supported file in VS Code's Explorer. Check that its extension is .xlsx, .xls, .xlsm, or .csv, and that Open With Excel is enabled.
  • Excel cannot be found: check the path in Settings and confirm that EXCEL.EXE exists there.
  • The old icon or details are still visible: press Ctrl+Shift+P and run Developer: Reload Window.

Update the extension

When you receive a newer VSIX file, repeat the installation steps with that file. To see what changed, read the changelog.


Changelog

1.0.2 - 2026-10-02

Fixes

  • Correct the publisher identifier to Linkbai so the VSIX matches the Marketplace publisher used for upload.

1.0.1 - 2026-10-02

Fixes

  • Make Simplified Chinese links jump to the Chinese section within the installed extension's Details and Changelog pages.
  • Make release-note links in the Details page jump to the corresponding section on the same page.

1.0.0 - 2026-10-02

Initial stable release

  • Open .xlsx, .xls, .xlsm, and .csv files in Microsoft Excel from VS Code's Explorer context menu.
  • Configure the Excel executable path in VS Code Settings.
  • Include a dedicated extension icon.

Documentation

  • Provide an English user guide with a linked Simplified Chinese version.
  • Explain VSIX installation, opening the first spreadsheet, Excel path configuration, and common problems for first-time users.

简体中文

English · 更新记录

在 VS Code 资源管理器中右键点击表格文件,即可用 Microsoft Excel 打开。支持 .xlsx、.xls、.xlsm 和 .csv 文件。

当前版本:1.0.2。

使用前准备

  • 在 Windows 上使用 1.80.0 或更新版本的 VS Code 桌面版。
  • 在同一台电脑上安装 Microsoft Excel。
  • 准备好 open-with-excel-1.0.2.vsix 安装文件。

安装插件

  1. 将收到的 open-with-excel-1.0.2.vsix 文件保存到电脑上。
  2. 打开 VS Code,按 Ctrl+Shift+X 进入“扩展”。
  3. 点击扩展面板右上角的 …,选择“从 VSIX 安装…”(英文界面为 Install from VSIX…)。
  4. 选择 open-with-excel-1.0.2.vsix,等待安装完成。
  5. 如果 VS Code 提示重新加载,点击“重新加载”。在已安装扩展中找到 Open With Excel,确认插件已启用。

安装方式与 VS Code 官方的 Install from VSIX 教程一致。

打开第一个表格

  1. 在 VS Code 中选择“文件 → 打开文件夹…”,打开一个包含表格的文件夹,例如里面有 sales.xlsx。
  2. 按 Ctrl+Shift+E 打开“资源管理器”,找到该表格。
  3. 右键点击文件,选择“用 Excel 打开”。
  4. 表格会在 Microsoft Excel 桌面程序中打开。

必要时设置 Excel 路径

如果提示“找不到 Excel”,请告诉插件 Excel 安装在哪里:

  1. 按 Ctrl+, 打开 VS Code 设置。
  2. 搜索 openWithExcel.excelPath。
  3. 在 Open With Excel: Excel Path 输入框中填写 EXCEL.EXE 的完整路径,不要在路径两端添加引号。
  4. 回到资源管理器,重新右键点击表格并选择“用 Excel 打开”。

默认安装路径为:

C:\Program Files\Microsoft Office\root\Office16\EXCEL.EXE

部分 Office 安装使用以下路径:

C:\Program Files (x86)\Microsoft Office\root\Office16\EXCEL.EXE

请填写本机实际存在的路径,可在 Windows 文件资源管理器中检查以上文件夹。

常见问题

  • 右键菜单里没有“用 Excel 打开”:请在 VS Code 的资源管理器中右键点击表格文件,检查后缀是否为 .xlsx、.xls、.xlsm 或 .csv,并确认插件已启用。
  • 提示找不到 Excel:检查设置里的路径,并确认该位置确实存在 EXCEL.EXE。
  • 仍显示旧图标或旧版说明:按 Ctrl+Shift+P 打开命令面板,执行“开发人员: 重新加载窗口”(英文为 Developer: Reload Window)。

更新插件

收到新版 VSIX 文件后,按照相同安装步骤选择新版文件即可。版本变化请查看更新记录。

更新记录

1.0.2 - 2026-10-02

修复
  • 将发布者标识修正为 Linkbai,使 VSIX 与上传时使用的市场发布者一致。

1.0.1 - 2026-10-02

修复
  • 修复扩展详情页与更改日志页的“简体中文”链接,点击后直接跳转到同一页的中文内容。
  • 修复扩展详情页的更新记录链接,点击后直接跳转到同一页的对应章节。

1.0.0 - 2026-10-02

首个正式版本
  • 在 VS Code 资源管理器右键菜单中,用 Microsoft Excel 打开 .xlsx、.xls、.xlsm 和 .csv 文件。
  • 支持在 VS Code 设置中配置 Excel 可执行文件路径。
  • 提供专用插件图标。
使用说明
  • 提供默认英文教程,并附上简体中文版本链接。
  • 面向首次接触插件的使用者,说明 VSIX 安装、打开首个表格、Excel 路径设置及常见问题。
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
  • Your Privacy Choices
  • Consumer Health Privacy
© 2026 Microsoft