# Get-OfficeExcelNumberFormatPreset

Lists OfficeIMO Excel number format presets and their format codes.

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: ExcelNumberFormatPreset

**Module**

`PSWriteOffice`

**Aliases**

`ExcelNumberFormatPreset`

**Inputs**

`None`

**Source**

[GetOfficeExcelNumberFormatPresetCommand.cs:17](https://github.com/EvotecIT/PSWriteOffice/blob/main/Sources/PSWriteOffice/Cmdlets/Excel/GetOfficeExcelNumberFormatPresetCommand.cs#L17) 

Lists OfficeIMO Excel number format presets and their format codes.

## Syntax

```
Get-OfficeExcelNumberFormatPreset
[-CultureName <String>]
[-Decimals <Int32>]
[<CommonParameters>]
```

[#](#method-get-officeexcelnumberformatpreset-string-int32)

Parameter set: `All Parameter Sets`

## Examples

### Find a currency format for generated reports.

```powershell
Get-OfficeExcelNumberFormatPreset -CultureName en-US -Decimals 2 |
                Where-Object Name -eq Currency
```

Returns the preset name and the Excel number format code that PSWriteOffice cmdlets can apply to cells or columns.

## Parameters

**-CultureName String optional**

Culture name used for currency symbols, such as en-US or pl-PL.

**-Decimals Int32 optional**

Decimal places used for decimal, percent, currency, and scientific presets.

## 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:5D3524819F2238343DF55E631031D85ACFFE59C8CEA53EDF1B80A4EB6BC77208 -->
