The best idea I could get is just leave it 0 based and start putting values into the array at 1. So it will be "like" a 1 based.
Is this a bad approach? If yes, what could be a solution for starting the dynamic array from 1, without using option base=1? Thank you very much
Sub Arr()
Dim MyArr() As String
ReDim MyArr(2)
'MyArr(0) = "0"
MyArr(1) = "1"
MyArr(2) = "2"
End Sub
Is this a bad approach? If yes, what could be a solution for starting the dynamic array from 1, without using option base=1? Thank you very much
Sub Arr()
Dim MyArr() As String
ReDim MyArr(2)
MyArr(1) = "1"
MyArr(2) = "2"
End Sub