activities
latest
false
UiPath logo, featuring letters U and I in white
Productivity Activities
Last updated Nov 15, 2024

Write Cell

UiPath.Excel.Activities.ExcelWriteCell

Writes a value or formula into a specified spreadsheet cell or a range. If the sheet does not exist, a new one is created with the name specified in the SheetName property. If a value exists, it is overwritten. Changes are immediately saved. Can only be used in the Excel Application Scope or Use Excel File activities.

Properties

Common
  • DisplayName - The display name of the activity.
Destination
  • Range - The Excel cell or range that you want to write to. If a value already exists at the specified coordinates, it is overwritten. Only string variables and strings are supported.
  • SheetName - The name of the sheet in which the cell or range of cells that you want to write to is. By default, this is filled in with "Sheet1." Only String variables and strings are supported.
Input
  • Value - The value or formula that you want to be written to a cell or range. Only string variables, generic variables and strings are supported.
Misc
  • Private - If selected, the values of variables and arguments are no longer logged at Verbose level.

Example of how to use the Write Cell activity

To exemplify how to use this activity, we have built an automation project which analyzes the results of a file and rearranges them in the correct order. You can download the example from here.

  • Properties
  • Example of how to use the Write Cell activity

Was this page helpful?

Get The Help You Need
Learning RPA - Automation Courses
UiPath Community Forum
Uipath Logo White
Trust and Security
© 2005-2024 UiPath. All rights reserved.