Arrays
Dim myStringArray(3) as String myStringArray(0) = "first" myStringArray(1) = "item 2" myStringArray(2) = "this is the third item" Debug.Print myStringArray(2) ' this prints: "this is the third item"
docs:programming:office_vba:arrays
Dim myStringArray(3) as String myStringArray(0) = "first" myStringArray(1) = "item 2" myStringArray(2) = "this is the third item" Debug.Print myStringArray(2) ' this prints: "this is the third item"