I am trying to read a range in Excel and have it stop when the below string is in a row
CurrentRow.ItemArray.Contains(“Indicator: C Medicaid AC IP Discharges”)
This string above is always in Column A, but each week could be a different row.
The below use case does not error out and writes my datatable to Sheet 1. Trouble is, it writes the entire range, it does NOT “break” when it gets to the above string.
Anyone have any ideas why this would be happening?
Both of those lines produce full data and doesn’t break at “Indicator” (I just used that one word in the contains part).
It seems to completely ignore this line, where I want to stop reading the range. I’m gonna be doing another sequence that takes data after this line as well.