Skip to content

Write Excel Cell

Type: excel-write-cell  ·  Package: Excel Activities v1.0.0

Type a value into a specific cell. Use it to place a specific data: a total in B10, a process date in A1, a status in a fixed cell. Create the file if it does not exist.

Write the value in the indicated cell on the sheet. Accepts session or path — see the two modes.

ParameterEditorDescription
cellexpressionCell address, e.g. "B3".
valueexpressionThe value or expression to write.
ParameterEditorDescription
sessionexpressionExcel Open session (instead of path).
pathexpressionPath to .xlsx (created if it does not exist; required if there is no session).
sheetexpressionName or index of the sheet. By default, the first /"Sheet1".
Write Excel Cell path = = "C:/salida/control.xlsx" sheet = "Log" cell = "A1" value = "Procesado"
Write Excel Cell path = = "C:/salida/control.xlsx" sheet = "Log" cell = "B1" value = = now().ToString("yyyy-MM-dd HH:mm")