API Reference
Command
Set-OfficeExcelRow
Writes a row of values to the current worksheet.
Remarks
Writes a row of values to the current worksheet.
Examples
Write a row starting at column A.
PS>ExcelSheet 'Data' { Set-OfficeExcelRow -Row 2 -Values 'North', 1200 }
Writes two values into row 2, columns A and B.
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-OfficeExcelRow -Row <Int32> [-StartColumn <Int32>] -Values <Object[]> [<CommonParameters>]#Parameter set:
All Parameter SetsParameters
- Row Int32
- 1-based row index.
- StartColumn Int32
- Starting column index (1-based).
- Values Object[]
- Values to write across the row.
Outputs
System.Object