# ConvertTo-OfficePdfExcel

Extracts detected PDF tables into an editable Excel workbook.

Project

PSWriteOffice

PowerShell document automation across OfficeIMO's document, spreadsheet, presentation, PDF, Project, Access, EPUB, invoicing, and conversion engines.

[View on GitHub](https://github.com/EvotecIT/OfficeIMO/tree/master/PowerShell/PSWriteOffice) [Visit Website](#) [Releases](https://github.com/EvotecIT/PSWriteOffice/releases/tag/v3.0.5) [Changelog](#) [Get package](https://www.powershellgallery.com/packages/PSWriteOffice/0.2.0)

Stars **725**

Forks **84**

Open issues **3**

Total downloads **5,231,343**

Release **OfficeIMO-v3.6.2**

Language: C# Updated: 2026-11-23

Cmdlet 

Aliases: ConvertTo-PdfExcel

**Module**

`PSWriteOffice`

**Aliases**

`ConvertTo-PdfExcel`

**Inputs**

`System.String`

**Outputs**

`System.IO.FileInfo` `OfficeIMO.Excel.Pdf.PdfExcelTableImportReport`

**Source**

[ConvertToOfficePdfExcelCommand.cs:22](https://github.com/EvotecIT/PSWriteOffice/blob/main/Sources/PSWriteOffice/Cmdlets/Pdf/ConvertToOfficePdfExcelCommand.cs#L22) 

Extracts detected PDF tables into an editable Excel workbook.

## Syntax

```
ConvertTo-OfficePdfExcel
[-Force]
[-IgnorePermissionRestrictions]
[-Open]
[-Options <PdfTablesToExcelOptions>]
[-OutputPath] <String>
[-PassThruReport]
[-Password <String>]
[-Path] <String>
[<CommonParameters>]
```

[#](#method-convertto-officepdfexcel-switchparameter-switchparameter-switchparameter-pdftablestoexceloptions-string-switchparameter-string-string)

Parameter set: `All Parameter Sets`

## Description

Uses OfficeIMO's logical table reconstruction, including typed numeric, Boolean, date, and percentage columns plus multi-page table continuation handling.

## Examples

### Convert detected PDF tables to Excel.

```powershell
ConvertTo-OfficePdfExcel -Path .\Statement.pdf -OutputPath .\Statement.xlsx
```

Writes an XLSX workbook with one table per detected logical table.

## Parameters

**-Force SwitchParameter optional**

Overwrite an existing output file.

**-IgnorePermissionRestrictions SwitchParameter optional**

After successful authentication, explicitly ignore owner-imposed extraction restrictions.

**-Open SwitchParameter optional**

Open the converted workbook after saving.

**-Options PdfTablesToExcelOptions optional**

Advanced OfficeIMO PDF-table-to-Excel options.

**-OutputPath String requiredposition: 1aliases: OutPath**

Output XLSX path.

**-PassThruReport SwitchParameter optional**

Return the detailed table import report instead of file information.

**-Password String optional**

Password used to authenticate an encrypted PDF.

**-Path String requiredposition: 0pipeline: True (ByValue)aliases: FilePath**

Input PDF path.

## Common Parameters

This command supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable.

For more information, see [about_CommonParameters](https://learn.microsoft.com/powershell/module/microsoft.powershell.core/about/about_commonparameters).

Evotec API Reference Copyright 2026 Evotec Services

<!-- PowerForge markdown artifact sha256:FD344BD228DD629B7731EBE5F0C7629EB9817DAF6107EA236DAFED44162AFBF1 -->
