Skip to content

Excel Close (Session)

Type: excel-close  ·  Package: Excel Activities v1.0.0

Saves and closes an open Excel session with Excel Open. It is the mandatory pairing of Excel Open in session mode: it releases the file and persists the changes to disk.

Save the pending changes to the session (unless you enter save = false) and close it. After you close it, the session can no longer be used.

ParameterEditorDescription
sessionexpressionThe session returned by Excel Open.
ParameterEditorDescription
savebooleanSave changes before closing. By default true. Set it to false to discard changes.
Excel Open path = = asset("reporte.xlsx") → output: libro
Write Excel Cell session = = libro cell = "A1" value = "Hola"
Excel Close session = = libro