Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Open in OfficeNew to Visual Studio Code? Get it now.
Open in Office

Open in Office

rellik92j

|
2 installs
| (0) | Free
Adds Open in Word, Open in Excel and Open in PowerPoint to the right-click menus for Office files in the Explorer and on editor tabs.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Open in Office

A tiny VS Code extension that adds Open in Word, Open in Excel and Open in PowerPoint to the right-click menu for Office files — in the Explorer and on editor tabs.

Menu item File types
Open in Word .doc .docx .docm .dot .dotx .dotm .rtf .odt
Open in Excel .xls .xlsx .xlsm .xlsb .xlt .xltx .xltm .csv .ods
Open in PowerPoint .ppt .pptx .pptm .pps .ppsx .ppsm .pot .potx .potm .odp

Select several files in the Explorer and they all open at once.

How it works

  • Windows – finds WINWORD.EXE, EXCEL.EXE and POWERPNT.EXE through the registry's App Paths entries that Office installs, then launches them directly.
  • macOS – runs open -a "Microsoft Word" (etc.).
  • Linux – Office isn't available, so it opens the file with your default app (or a custom command you set).

No dependencies, no build step, nothing runs until you click a menu item.

Settings (optional)

If Office is installed somewhere unusual, point the extension at it:

"openInOffice.wordPath": "C:\\Program Files\\Microsoft Office\\root\\Office16\\WINWORD.EXE",
"openInOffice.excelPath": "",
"openInOffice.powerpointPath": ""

On macOS these take an app name instead, e.g. "Microsoft Excel".

Install

Search for Open in Office in the Extensions view, or:

code --install-extension rellik92j.open-in-office

Each GitHub release also has the .vsix, for Extensions view → … → Install from VSIX….

Develop

Open this folder in VS Code and press F5 to launch an Extension Development Host.

npm install
npm test          # manifest and packaging checks
npm run package   # builds releases/open-in-office-<version>.vsix

Releases are published to the Marketplace by a GitHub Actions workflow; see docs/dev/release.md.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
  • Your Privacy Choices
  • Consumer Health Privacy
© 2026 Microsoft