# Set-OfficePowerPointTableCell

Sets text in an existing PowerPoint table cell. Review available syntax, parameters, pipeline guidance, and reference details in PSWriteOffice API Reference.

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 

**Module**

`PSWriteOffice`

**Inputs**

`System.Object`

**Outputs**

`OfficeIMO.PowerPoint.PowerPointTableCell`

**Source**

[SetOfficePowerPointTableCellCommand.cs:31](https://github.com/EvotecIT/PSWriteOffice/blob/main/Sources/PSWriteOffice/Cmdlets/PowerPoint/SetOfficePowerPointTableCellCommand.cs#L31) 

Sets text in an existing PowerPoint table cell.

## Syntax

```
Set-OfficePowerPointTableCell
-Column <Int32>
[-InputObject] <Object>
[-PassThru]
-Row <Int32>
-Text <String>
[<CommonParameters>]
```

[#](#method-set-officepowerpointtablecell-int32-object-switchparameter-int32-string)

Parameter set: `Text`

```
Set-OfficePowerPointTableCell
-Column <Int32>
[-InputObject] <Object>
[-PassThru]
-Row <Int32>
-Run <Object[]>
[<CommonParameters>]
```

[#](#method-set-officepowerpointtablecell-int32-object-switchparameter-int32-object)

Parameter set: `Run`

## Description

Accepts a PowerPointTable or a PowerPointShapeInfo record whose shape is a table. Row and column coordinates are zero-based, matching the OfficeIMO PowerPoint table API. Use this after Find-OfficePowerPointShape -Kind Table when a script needs to update a specific cell inside a deck that already exists.

## Examples

### Update a cell in a found table.

```powershell
Find-OfficePowerPointShape -Presentation $ppt -Text 'Metric' -Kind Table |
                Set-OfficePowerPointTableCell -Row 1 -Column 1 -Text 'Ready'
```

Accepts a PowerPoint table or table shape metadata and updates a zero-based table cell.

### Update a state cell after locating a readiness table.

```powershell
$table = Find-OfficePowerPointShape -Presentation $ppt -Text 'Risk' -Kind Table | Select-Object -First 1
$table | Set-OfficePowerPointTableCell -Row 1 -Column 1 -Text 'Mitigating'
```

Uses the table found by text content and updates the second row, second column.

## Parameters

**-Column Int32 required**

Zero-based column index.

**-InputObject Object requiredposition: 0pipeline: True (ByValue)**

PowerPoint table or table shape info returned by Find-OfficePowerPointShape or Get-OfficePowerPointShape.

**-PassThru SwitchParameter optional**

Emit the updated table cell for additional OfficeIMO-level edits.

**-Row Int32 required**

Zero-based row index.

**-Text String requiredsets: Text**

Replacement cell text. A null value clears the cell.

**-Run Object[] requiredaliases: Runssets: Run**

Replacement rich text runs. Each run can be created with TextRun/PowerPointTextRun or provided as a hashtable/object.

## 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:6976DD460ADD712E1D71F6CFC01793ACED4A7393FC49BAA1509F91139AE3F301 -->
