API Reference

Cmdlet

Get-OfficeWordTableCell

Aliases: WordTableCells
Namespace PSWriteOffice
Aliases
WordTableCells
Inputs
OfficeIMO.Word.WordTable
Outputs
OfficeIMO.Word.WordTableCell

Gets cells from an OfficeIMO Word table.

Remarks

Gets cells from an OfficeIMO Word table.

Examples

Authored help example

Read a specific status cell from the first table.

PS>


$table = Get-OfficeWordTable -Path .\Report.docx | Select-Object -First 1
            $cell = $table | Get-OfficeWordTableCell -Row 1 -Column 2
            $cell.Paragraphs |
                Select-Object -Property Text
        

Gets a zero-based table cell from an OfficeIMO table object and inspects its paragraphs.

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.

Syntax

Get-OfficeWordTableCell [-Column <Nullable`1>] [-Row <Nullable`1>] -Table <WordTable> [<CommonParameters>]
#
Parameter set: All Parameter Sets

Parameters

Column Nullable`1 optionalposition: namedpipeline: False
Optional zero-based column index.
Row Nullable`1 optionalposition: namedpipeline: False
Optional zero-based row index.
Table WordTable requiredposition: 0pipeline: True (ByValue)
Table to inspect.

Outputs

OfficeIMO.Word.WordTableCell