cagataybaser
New member
- Joined
- Aug 14, 2014
- Messages
- 13
- Reaction score
- 0
- Points
- 0
I have a code like this
And I got error message Subscript out of range with ReDim Preserve
Can you help me about that?
Code:
Private Sub Sample()
Dim exstrn() As String
Dim i As Integer
i = 1
Do
i = i + 1 ReDim Preserve exstrn(0 To UBound(exstrn) + i) As String
Can you help me about that?