Hey i am making a program that get all the links of the page but now i have a problem, with the links i got i only need a id example: URL: websiteurl.com/userID=1000 <-- than i only need the part 1000
and all the url's begin with websiteurl.com/userID=*****
but the ID's variate from 1000 to 100000 the script i use:
Code:
Private Sub Command1_Click()
Dim i As Integer
Dim s As String
For i = 0 To browser.Document.links.length - 1
If InStr(1, browser.Document.links.Item(i).href, "websiteurl.com/userID=") = 1 Then
s = browser.Document.links.Item(i).href
script.AddItem s
End If
Next i
End Sub

Private Sub Form_Load()
Dim i As String
browser.Navigate Text1.Text
End Sub

Private Sub script_DblClick()
browser.Navigate script
End Sub