Help me to find the correct way to insert value to data table

Hi i have 5 string variable with a value i wanted to insert in the same column,
i would like to refrain from using for each if possible

is there a way to do it ? ,
thank you

i have 5 variable with a value ,

and i wanted to insert this 5 value into an existing data table on the same column
so it will be like
column B
Existing value
Existing Value
New Value from variable 1
New Value from variable 2
New Value from variable 3
New Value from variable 4
New Value from variable 5

can u elborate more about your requirement
Additionally,if you want to add the values to the same column you can use add data row activity

@StevenIsRobotOnline

use add data row activity.

https://docs.uipath.com/activities/other/latest/workflow/add-data-row

i have 5 variable with a value ,

and i wanted to insert this 5 value into an existing data table on the same column
so it will be like
column B
Existing value
Existing Value
New Value from variable 1
New Value from variable 2
New Value from variable 3
New Value from variable 4
New Value from variable 5

Hi @StevenIsRobotOnline

You can use add data column activity if it’s a new column.
else
Add the 5 variables into a datatable
Use write range or append range(based on your criteria)
“Range” property like “A5:A10”(if you use write range)

Hope it helps.

@shreyash_shirbhate

1.Keep all variables, to an array…
2.use for each activity for arrayvariable
3.in that use Add Data Row Activity