Sendkey ("{ENTER}") not entering data into website from excel
I need to use it since form does not have a button to click
Sub FillInternetForm()
Dim IE As Object
Set IE = CreateObject("InternetExplorer.Application")
IE.Navigate "http://reference.medscape.com/drug-interactionchecker"
IE.Visible = True
While IE.Busy
DoEvents
Wend
Set TrackID = IE.Document.getelementbyid("MDICtextbox")
TrackID.Value = "Aspirin"
IE.Visible = True
SendKeys ("{ENTER}")
End Sub
Note that, if I change enter to other command such as {BS} or Backspace it works but not enter
Did you try ~ (tilde) as this page suggest it :
SendKeys