Hi guys
I am trying to declare a array within a structure, and it is not working. I'll paste the code below and if anyone can help it would be greatly appreciated.
Structure league
Dim id As String
Dim name As String
Dim players(20) As String
End Structure
Dim leagues(100) As league
So I want each league to have a single name and id and 20 players.
Is there a way other than writing out dim player1, player2 etc.