How can I write in a Excel cell givin the name column?

Hi @Christian_Maury,

Considering these conditions, you could get the column index based on its name, and convert it to column letter.

So…

First step: yourDataTable.Columns.IndexOf("columnName")
Second step:

Third step: Concatenate with the row number to get the cell

1 Like