I've been round and round with this. I am absolutely fresh with VBA and have no clue what I am doing, so any help would be highly appreciated!
For now, I simply want to the click the button on a work website. The button is labeled as "ENTER (Click here to Login)"
I've tried several different options gathered from around the internet and back, but have had no luck.
My current setup:
Sub RoundedRectangle1_Click()
Dim IE As Object
'open up Internet Explorer
Set IE = CreateObject("InternetExplorer.Application")
IE.Visible = True
IE.Navigate "http://confidential.website"
'Wait for IE to load
Do While IE.Busy
Loop
'wait for site to fully load
Application.Wait Now + TimeValue("00:00:03")
'click link
IE.GetElementsByTagName("button").Click
End Sub
HTML text is attached!
Any recommendations?
Thank you in advance!
Bookmarks