Sub login()
Dim objie As InternetExplorer
Set objie = New InternetExplorer
objie.Visible = True
objie.navigate "https://kite.zerodha.com/"
Do While objie.Busy = True Or objie.readyState <> 4: DoEvents: Loop
objie.document.getElementsByTagName("input")(0).Value = "abcdefgh"
objie.document.getElementsByTagName("input")(1).Value = "abcdefgh"
objie.document.getElementsByTagName("button")(0).Click
End Sub
The website I am trying to automate is not accepting text sent from vba. So I tried sendkeys method and it worked. But I want to run the Internet explorer in background. Is there any way to do this.