Can you be more clear…are you trying to read or write?
if read then first you can use find/replace activity to get the required row…you can extract the row number from the returned value using regex Regex.Match(cellval,"\d+").value
if you want to only replace then in find/replace you can directlt give the replace value as well
Use the “Excel Application Scope” activity to open the Excel file.
Inside the scope, use the “Read Range” activity to read the data from the Excel sheet. Specify the range that includes the header row.
Store the output of the “Read Range” activity in a variable of type DataTable.
Use the “Assign” activity to assign the header row to a separate variable. You can use the following expression: headerRow = yourDataTable.Rows(2).ItemArray.Select(Function(x) x.ToString).ToArray() This assumes that the header row is in the third row (index 2) of the DataTable.
Use the “Assign” activity to find the index corresponding to the desired header. For example, if you have a variable named “desiredHeader” containing the header you want to find the index for, you can use the following expression: headerIndex = Array.IndexOf(headerRow, desiredHeader) The “headerIndex” variable will now contain the column index corresponding to the desired header.
You can then use the “Write Cell” activity, specifying the column index obtained in the previous step, to write data to that column.