2016-03-25 9 views

答えて

1

あなたはかなり近くでした:

Sub arrray() 

    Dim titles(1 To 9) As String 
    Dim i As Long 

    For i = 1 To 3 
     titles(i + 0) = "w" & i 
     titles(i + 3) = "y" & i 
     titles(i + 6) = "x" & i 
    Next i 

    For i = 1 To 9 
     MsgBox titles(i) 
    Next i 
End Sub 
関連する問題