# Add-OfficeExcelReportSpacer

Adds vertical space to the report. Review available syntax, parameters, pipeline guidance, and reference details in PSWriteOffice Cmdlet Reference.

Cmdlet 

Aliases: ExcelReportSpacer

**Module**

`PSWriteOffice`

**Aliases**

`ExcelReportSpacer`

**Inputs**

`None`

**Source**

[AddOfficeExcelReportSpacerCommand.cs:38](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/PowerShell/PSWriteOffice/Sources/PSWriteOffice/Cmdlets/Excel/AddOfficeExcelReportSpacerCommand.cs#L38) 

Adds vertical space to the report.

## Syntax

```
Add-OfficeExcelReportSpacer
[-PassThru]
[[-Rows] <Int32>]
[<CommonParameters>]
```

[#](#method-add-officeexcelreportspacer-switchparameter-int32)

Parameter set: `Default`

## Examples

### Add space between blocks

```powershell
New-OfficeExcel -Path .\Reports\Operations.xlsx {
    ExcelReportSheet 'Summary' {
        ExcelReportTitle 'Operations summary'
        ExcelReportSpacer
        ExcelReportParagraph 'Week 43, 2026'
    }
}
```

Leaves one empty row between two report blocks.

### Separate KPIs from the detail

```powershell
New-OfficeExcel -Path .\Reports\Helpdesk-Review.xlsx {
    ExcelReportSheet 'Review' {
        ExcelReportKpi ([ordered]@{ Opened = 412; Closed = 398; 'Median age' = '1.6 days' })
        ExcelReportSpacer 2
        ExcelReportTable (Import-OfficeCsv -Path .\Data\Tickets-By-Team.csv) 'Tickets by team'
    }
}
```

Leaves two rows between the KPI cards and the detail table to give the summary room.

## Parameters

**-PassThru SwitchParameter optional**

Emits the native result after the operation.

**-Rows Int32 optionalposition: 0**

Auto-fit all rows.

## 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).

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