Write multiple lines within a cell

activities

#1

Hello Community,

I would like to write multiple lines within an excel cell. Is that possible in UiPath? If so, how should I prepare my data table in this case?

Thanks,
Joshi


#2

Hi @Joshikumarav

You can use Environment.NewLine to create new line that will be saved to the Excel.
This is how you would add a row with two lines to a single column DataTable:


#3

You can use Environment.NewLine or vblf or vbNewline.