Results 1 to 3 of 3

Thread: ListBox / For Next help

  1. #1

  2. #2
    Hyperactive Member
    Join Date
    Nov 2001
    Posts
    377

  3. #3

    Thread Starter
    Former Admin/Moderator MartinLiss's Avatar
    Join Date
    Sep 1999
    Location
    San Jose, CA
    Posts
    33,431
    Code:
        Dim intPos As Integer
        Dim intIndex As Integer
        
        For intIndex = 0 To List1.ListCount - 1
            intPos = InStrRev(List1.List(intIndex), "/")
            If intPos > 0 Then
                List2.AddItem Right$(List1.List(intIndex), Len(List1.List(intIndex)) - intPos)
            End If
        Next

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