Hi i have this code for log in
Sub login()
line1 UserForm1.WebBrowser1.Navigate "https://......."
line2 UserForm1.WebBrowser1.Document.all.Item("ssousername").Value = TextBox1.Text
line3 UserForm1.WebBrowser1.Document.all.Item("password").Value = TextBox2.Text
End Sub
But when running I get run time error 91 in line 2
Thanks for reply