Hello Friends !!
Here I need one assistance from the experts. Below given is the code that opens the web link in INTERNET EXPLORER & simultaneously adds username and password as well in the required fields, Now I want application of INTERNET EXPLORER to be replaced by GOOGLE CHROME, I tried several methods but all in vain can anyone help me in this
Sub internetlogon()
Dim IE As Object
Set IE = CreateObject("InternetExplorer.application")
IE.Visible = True
'Go to this Web Page!
IE.Navigate "https://www.linkedin.com/m/login/"
'Check for good connection to web page loop!
Do
If IE.ReadyState = 4 Then
IE.Visible = False
Exit Do
Else
DoEvents
End If
Loop
'Wait for window to open!
Application.Wait (Now + TimeValue("0:00:01"))
IE.Visible = True
'Send logon information
SendKeys "xxxxxusernamexxxxx", True
SendKeys "{TAB}", True
SendKeys "xxxxxpasswordxxxxx", True
End Sub
Thanks n Regards
Bookmarks