Is it possible to use a statement like this in VBA coding?
Debug error says...line saying subscript is out of range? Which is what makes me question is it possible to do this in VBA, I know you can in C# and other languages, thought i'd give it a whirl in VBA.Code:'Declaring Name here Dim Name(10) As String 'Code using to call Name and it is throwing a debug error on the Name(i) = Name(i+1) j = i i = 0 If j > 10 Then j = 10 While i <= j If i < 19 Then FName(i) = FName(i + 1) End If End If i = i + 1 End