I need to count the filled cells on row number 7 starting from I7 dynamically, could be less than what’s shown on the picture or could be more, and stop until blank cell found. The data after is not important.
And then iterate through rows using the counter we got from the step before.
I would like to count the filled cells starting from “I7” horizontally to the right, it could go to alphabetical columns like “AA” and the counter would stop at first blank cell encountered. TEST1,2,3 do not need to be counted in the process.
I only need to do this step for Row 7, and extract a counter from it so I can work with it afterwards for the rest of the data below.
About you validation message kindly note:
Row(Col.toString).toString is needed VB.Net
Row/col was swapped
If C# is in use then try
Row[Col.ToString()].ToString();
let not open / unanswered our questions e.g is C# the selected Programming Languague
configure properly the activties - check if the typeargument of the first for each activity is set to DataRow
check if the typeargument of the second for each activity is set to DataColumn
Kindly note also the for each row activity
is better to focus on Busines case, requirements definition first then do the implementation. When something is not working on the first shot then check the root cause. But always do the modeling carefully.