Save a variable in Excel

Hello everyone, I know my question is very simple, but I’m starting in RPA.
How do I save four string variables one in each column with their header. For example: I want to put the contents of the variable Name in a column with NAME header. A content of the code variable in the CODE column?

Hi Mauro
The solutions could be many, but one simple approach could be:

  • Build a datatable (containing Name and Code)
  • Assign Name and Code variables
  • Add the datarow to the datatable (with the variables)
  • Append the data range to an existing Excel-file

See the attatched example.

Save_Name_Code_in_Excel.zip (9.0 KB)

BR, MMC

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.