Get Cell Value in Excel from Range
问题 How can I extract the value of a cell from a range object? It seems like it should be simple. This Stackoverflow question and answers did not really help. Here is what I want to do but it fails every time with an exception on row.columns(0,0). Dim rdr = oFindings.Range For Each row As Excel.Range In rdr.Rows Dim Account = row.Columns(0,0).value2.tostring ' Do other stuff Next To make it work I had to implement this code: For Each row As Excel.Range In rdr.Rows ndx = 0 For Each cell As Excel