I am using this code to click a button and it is not working
For Each ele In objie.Document.GetElementsByTagname("input")
If ele.Name = "butLaunchExcel" Then ele.Click: Exit For
This is then inspect code
'input class="btn btn-primary" type="button" name="butLaunchExcel" value="Launch Excel" *******="ExcelLaunch()">
For Each ele In objie.Document.GetElementsByTagname("input")
If ele.Name = "butLaunchExcel" Then ele.Click: Exit For
This is then inspect code
'input class="btn btn-primary" type="button" name="butLaunchExcel" value="Launch Excel" *******="ExcelLaunch()">