API Reference
Cmdlet
Set-OfficeOpenDocumentCell
Sets a typed zero-based cell value in an OpenDocument spreadsheet.
Remarks
Sets a typed zero-based cell value in an OpenDocument spreadsheet.
Examples
Set typed values inside the active worksheet.
PS>
Set-OfficeOpenDocumentCell -Row 0 -Column 0 -Value 'Healthy'
Set-OfficeOpenDocumentCell -Row 0 -Column 1 -Value $true
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
Set-OfficeOpenDocumentCell -Column <Int64> [-PassThru] -Row <Int64> [-Sheet <OdsSheet>] -Value <Object> [<CommonParameters>]#Parameter set:
All Parameter SetsParameters
- Column Int64
- Zero-based column index.
- PassThru SwitchParameter
- Emit the updated cell.
- Row Int64
- Zero-based row index.
- Sheet OdsSheet
- Worksheet target. Omit inside Add-OfficeOpenDocumentSheet -Content.
- Value Object
- String, number, decimal, boolean, date, date-time offset, or time span value.
Outputs
OfficeIMO.OpenDocument.OdsCell