i was using the following code:

Dim strBox As String
Dim i As Integer
For i = 0 To (List1.Count - 1)
strBox = strBox & List1.List(i) + vbNewLine
Next i

and I get this error:

object doesnt support this object or method

is there a reference or componet I should have selected to fix this error?