Results 1 to 2 of 2

Thread: object doesnt support this object or method

  1. #1

    Thread Starter
    Member
    Join Date
    Apr 2001
    Posts
    41
    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?

  2. #2
    Lively Member
    Join Date
    Apr 2001
    Posts
    111
    You gotta use List1.ListCount instead of just .Count.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width