Question : vba foreach 2d array
Answered by : innocent-ibis-xtvpp7mhfhwx
Dim outer As Long
Dim inner As Long
For outer = LBound(arrData, 1) To UBound(arrData, 1) For inner = LBound(arrData, 2) To UBound(arrData, 2) Debug.Print arrData(outer, inner) Next
Next
Source : https://stackoverflow.com/questions/53253206/use-for-each-statement-to-go-through-two-dimensional-array-per-row-not-per-c | Last Update : Wed, 06 Jan 21