# Convert Excel to PDF on Linux

**URL:** <https://forums.powershell.org/t/convert-excel-to-pdf-on-linux/20697>\
**Category:** PowerShell Help\
**Created:** [October 20, 2022, 12:06am UTC](https://forums.powershell.org/t/convert-excel-to-pdf-on-linux/20697 "2022-10-20T00:06:38Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![gueyenono](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.powershell.org/gueyenono/32/4012_2.png) [@gueyenono](https://forums.powershell.org/u/gueyenono)\
**Post date:** [October 20, 2022, 12:06am UTC](https://forums.powershell.org/t/convert-excel-to-pdf-on-linux/20697/1 "2022-10-20T00:06:38Z")

</div>

Hello everyone,

Although I am fairly proficient in a few programming languages, I am new to PowerShell and am forcing myself to perform my current tasks with it if possible. Even though I discovered PS on my Windows laptop, I was pleasantly surprised to find out that it was also available for Linux since Linux is my operating system of choice.

Currently, I am working with some Excel files and I was worried that there was no way to read data from them since Microsoft Office does not exists on Linux. Great was my joy to discover the ImportExcel module, which made it a piece of cake ([GitHub - dfinke/ImportExcel: PowerShell module to import/export Excel spreadsheets, without Excel](https://github.com/dfinke/ImportExcel)).

Now, I need to convert these Excel sheets to PDF and even though I am able to do it with the LibreOffice command line interface in Bash, I was wondering if such a module existed in PowerShell.

Thank you very much.

---

<div class="post-metadata">

**Author:** ![Olaf](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.powershell.org/olaf/32/992_2.png) [@Olaf](https://forums.powershell.org/u/Olaf)\
**Post date:** [October 20, 2022, 12:24am UTC](https://forums.powershell.org/t/convert-excel-to-pdf-on-linux/20697/2 "2022-10-20T00:24:57Z")

</div>

G.,  
Welcome to the forum. 👋🏽

> [@gueyenono](#):
>
> I was wondering if such a module existed in PowerShell.

I’ve never heard of something like this so far. But PowerShell is - just like others - a normal command line interface. And therefore it is able to run external commands. It would be probably not that hard to migrate your Bash command line to PowerShell if you have a business case for it. 😉

---

<div class="post-metadata">

**Author:** ![gueyenono](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.powershell.org/gueyenono/32/4012_2.png) [@gueyenono](https://forums.powershell.org/u/gueyenono)\
**Post date:** [October 20, 2022, 12:37am UTC](https://forums.powershell.org/t/convert-excel-to-pdf-on-linux/20697/3 "2022-10-20T00:37:58Z")

</div>

I honestly did not view PowerShell as just another command line interface. Thank you for pointing it out. I’ll try this approach.

---

<div class="post-metadata">

**Author:** ![dotnVo](https://avatars.discourse-cdn.com/v4/letter/d/4af34b/32.png) [@dotnVo](https://forums.powershell.org/u/dotnVo)\
**Post date:** [May 16, 2024, 8:16pm UTC](https://forums.powershell.org/t/convert-excel-to-pdf-on-linux/20697/4 "2024-05-16T20:16:30Z")

</div>

Closed on May 16, 2024, 8:16pm UTC


