When I run this code:

VB Code:
  1. Dim S As String
  2. S = wb.Document.body.innerHTML
  3.  
  4.  
  5.  If TempPass Then
  6.                             v = Split(S) ', vbNewLine)
  7.                                 For Each w In v
  8.                                     w = Split(w, "=")
  9.                         'Debug.Print w(0), w(1)
  10.                         If w(0) = "username" Then Form1.username.Text = w(1)
  11.                 Next
  12.  
  13.                             Form18.Hide
  14.                             Form1.Show
  15.                
  16.         End If

on a webpage that looks like this

Code:
level=4
[email protected]
first_name=Dave
last_name=Machews
When in debugging mode, the W = "" for some reason and I get a subscript out of range...what does that mean?