I have data in the column A of an Excel file (from A2 to Aend):
The data of the column A is variable and changed manually. I do not know how many rows there are (there can be from A2 to A4, from A2 to A4343, from A2 to Awhatever).
I need to check if the specific cell E3 contains any of the data of the column A.
Use Read cell activity to read the value from the particular cell “E3” name the output as “Data” and then put a if activity and check the condition like this,
String.IsNullOrEmpty(Data.toString.trim).
Read the data of column A
Use Excel Application scope.
Use Read range activity with values as “”, into DTColumnA
Use Read cell activity with value as “E3”, save in a variable ValueE3
Use for loop to loop through the row items of DTColumnA.
inside the for loop, check if ValueE3.toString = row(“CoumnName”).toString, if it is same, do what you need further.