Cmdlet
Get-OfficeWordTableCell
Gets cells from an OfficeIMO Word table.
Syntax
Get-OfficeWordTableCell [-Column <Int32>] [-Row <Int32>] [-Table] <WordTable> [<CommonParameters>]#Parameter set:
All Parameter SetsExamples
Read a specific status cell from the first table.
$table = Get-OfficeWordTable -Path .\Report.docx | Select-Object -First 1
$cell = $table | Get-OfficeWordTableCell -Row 1 -Column 2
$cell.Paragraphs |
Select-Object -Property TextGets a zero-based table cell from an OfficeIMO table object and inspects its paragraphs.
Parameters
- -Column Int32
- Optional zero-based column index.
- -Row Int32
- Optional zero-based row index.
- -Table WordTable
- Table to inspect.
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.