How to open .xlsx files in MS Excel from VS Code?
Asked Answered
S

4

13

Is there a way to open certain files like xlsx/docx in external apps (preferably system defaults) from VS Code Explorer instead of just opening another tab in VS Code?

I want to be able to open xlsx/docx etc. in MS Office Apps by double clicking from the explorer, if that's possible at all.

Severin answered 19/1, 2021 at 8:58 Comment(0)
P
14

After installing the extension called open, you can open ms files by default app with right click. (But it does not work in WSL)

with right click

Plover answered 14/5, 2021 at 8:42 Comment(0)
S
15

Check this extension - both .docx and .xlsx are working good and you can even edit them.

Example of .docx:

For docx

Example of .xlsx:

For xlsx

Swinney answered 19/1, 2021 at 16:25 Comment(1)
I want to be able to open it in excel rather than vs code itself. The answer provided by @Gantrol seems to do the job.Severin
P
14

After installing the extension called open, you can open ms files by default app with right click. (But it does not work in WSL)

with right click

Plover answered 14/5, 2021 at 8:42 Comment(0)
T
3

If you want to open .xlsx files within vs code then this tool does the job. It is much faster then loading Excel I find.

Excel Viewer

Thitherto answered 7/1, 2022 at 14:20 Comment(0)
D
-1

There is a plugin called Office Viewer(Markdown Editor) that should fit your needs. enter image description here

Dugald answered 24/6, 2024 at 1:46 Comment(1)
We already have a couple of answers linking to the Microsoft Marketplace. This answer doesn't actually have a link for people to download.Pygidium

© 2022 - 2025 — McMap. All rights reserved.