Cmdlet
Get-OfficeExcelNumberFormatPreset
Lists OfficeIMO Excel number format presets and their format codes.
Syntax
Get-OfficeExcelNumberFormatPreset
[-Culture <CultureInfo>]
[-Decimals <Int32>]
[<CommonParameters>]#Parameter set:
DefaultExamples
List number format presets
Get-OfficeExcelNumberFormatPresetShows the preset names usable with -ColumnFormat and -Style and the format codes they produce.
See formats for another culture
Get-OfficeExcelNumberFormatPreset -Decimals 1 -Culture de-DEShows the presets with one decimal place as they are written for German workbooks.
Parameters
- -Culture CultureInfo
- Culture name used for currency symbols, such as en-US or pl-PL.
- -Decimals Int32
- 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.