Skip to main content

Write Cell Values

Writes a value to a specific cell in an Excel workbook stored in OneDrive.

Category: Microsoft Office 365 & OneDrive · Group: Office 365 · Activity name: WriteCell

The WriteCell activity in the designer

Example

WriteCell(workbookPath="<workbookPath>", worksheetName="<worksheetName>", rangeAddress="<rangeAddress>", values="<values>")

Inputs

NameTypeRequiredDefaultDescription
Workbook PathstringWorkbook path.
Worksheet namestringWorksheet name.
Range addressstringThe address of the range. Ex: 'A1:B5' or 'A1:A1' to change only one cell
ValuesstringThe values as an object array. Ex: [['Header1', 'Header2'],['Value1', 'Value2']] to write on 2 rows 2 columns