I'm having some troubles with my code. My program reads a file line by line, but each line is delimated with a semicolon. Everything works fine up until the part where it splits each line with the semicolons.

Code:
  For i = LBound(strArray) To UBound(strArray)
  ReDim Preserve parseplayers(i) As String
  ReDim Preserve players(i) As player
  parseplayers = Split(strArray(i), vbCrLf)
  parseplayers2 = Split(parseplayers(i), ";")
  Next i
When I try to execute this code, I get a Subscript out of range error and the parseplayers2 = Split(parseplayers(i),";") is highlighted.

What's wrong? Please help.