Sub Ex() k=3 Dim Ar(1 To k), i As Integer Ar(1) = "AA" Ar(2) = "BB" Ar(3) = "CC" For i = 1 To 3 MsgBox Ar(i) Next End Sub