I am a newbie to Excel VBA and am seeking to select a radio button using VBA code.
the Code I have written is simply:
Sub Consolidations()
Dim iLastRow As Integer
Dim Rng As Range
Dim IE As Object
Set IE = CreateObject("Internetexplorer.Application")
On Error GoTo errHandler
With IE
.Visible = True
.navigate "https://loanconsolidation.ed.gov/AppEntry/QuestionAnswerServlet?Button_Pressed_Hid=FirstTime&Language_Hid=english&Process_Flow_Hid=print"
While IE.busy:
DoEvents
Wend
IE.document.question1.Checked = True
End With
This Navigates to the page just fine but doesn't seem to check the radio box. Any suggestions??
the Code I have written is simply:
Sub Consolidations()
Dim iLastRow As Integer
Dim Rng As Range
Dim IE As Object
Set IE = CreateObject("Internetexplorer.Application")
On Error GoTo errHandler
With IE
.Visible = True
.navigate "https://loanconsolidation.ed.gov/AppEntry/QuestionAnswerServlet?Button_Pressed_Hid=FirstTime&Language_Hid=english&Process_Flow_Hid=print"
While IE.busy:
DoEvents
Wend
IE.document.question1.Checked = True
End With
This Navigates to the page just fine but doesn't seem to check the radio box. Any suggestions??