Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Cmdlet

Add-OfficeExcelReportParagraph

Aliases: ExcelReportParagraph
Module PSWriteOffice
Aliases
ExcelReportParagraph
Inputs
None

Adds a paragraph line to the current Excel report sheet.

Syntax

Add-OfficeExcelReportParagraph [-PassThru] [-Text] <String> [<CommonParameters>]
#
Parameter set: All Parameter Sets

Examples

Authored help example

Add narrative text below a title block.

New-OfficeExcel -Path .\Operations.xlsx {
    Add-OfficeExcelReportSheet -Name Summary {
        Add-OfficeExcelReportTitle -Title 'Operational Summary'
        Add-OfficeExcelReportParagraph -Text 'This workbook was generated from the validated source data.'
    }
}

Adds prose to an OfficeIMO-composed Excel report sheet.

Parameters

-PassThru SwitchParameter optional
Emit the object created or changed by the command.
-Text String requiredposition: 0
Paragraph text.

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.