Project

PSWriteOffice

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

Stars 654
Forks 82
Open issues 1
Total downloads 4,320,051
Release OfficeIMO-v3.5.3
Language: C# Updated: 2026-11-03
Cmdlet

Add-OfficeExcelReportTitle

Aliases: ExcelReportTitle
Module
PSWriteOffice
Aliases
ExcelReportTitle
Inputs
None

Adds a title block to the current Excel report sheet.

Syntax

Add-OfficeExcelReportTitle
[-PassThru]
[[-Subtitle] <String>]
[-Title] <String>
[<CommonParameters>]
#
Parameter set: All Parameter Sets

Examples

Add a polished title to a report sheet.

New-OfficeExcel -Path .\Operations.xlsx {
    Add-OfficeExcelReportSheet -Name Summary {
        Add-OfficeExcelReportTitle -Title 'Operational Summary' -Subtitle 'Current month'
        Add-OfficeExcelReportKpiRow -InputObject @{ Revenue = 125000; Incidents = 3; Status = 'Ready' }
    }
}

Uses the OfficeIMO sheet composer through PSWriteOffice's thin report-block wrapper.

Parameters

-PassThru SwitchParameter optional
Emit the object created or changed by the command.
-Subtitle String optionalposition: 1
Optional subtitle text.
-Title String requiredposition: 0
Title 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.