I am simply trying to select the Last Name and State radio button so I can then move on with the rest of my routine. Any help would be appreciated.
I am having issue with this piece of code:
Here is the below HTML I am sourcing from:
Here is the actual routine I need help with:
</STRONG></LABEL>
I am having issue with this piece of code:
Code:
Ie.Document.getelementsbyname("L")(1).Click
Here is the below HTML I am sourcing from:
HTML:
Find a provider by entering some or all of their L
Here is the actual routine I need help with:
Code:
Sub Medicare()
Dim Ie
Set Ie = CreateObject("InternetExplorer.application")
Ie.Visible = True
'##############################################################################
'*******************Choose Physician or Other HealthCare Provider**************
'##############################################################################
Ie.navigate ("[URL]http://www.medicare.gov/Physician/Search/chooseprovider.asp[/URL]")
Do
If Ie.readyState = 4 Then
Ie.Visible = True
Exit Do
Else
DoEvents
End If
Loop
'USE VIEW SOURCE TO GET FORM ELEMENT IDS
Ie.Document.getelementsbyname("L")(1).Click
End Sub