
Originally Posted by
PcMax
To avoid errors when there is a text, I added in the cycle:
For i = 1 To UBound(ka, 1) - 1
ka(i, 1) = Val(ka(i + 1, 1)) - Val(ka(i, 1))
Next
Is there an alternative to load the array: ka = Range("C3:C" & r) with only numeric values ?
Bookmarks