OK, you seem to be asking a new question about getting a collection of HTML elements so I will post it as a new answer. The reason you are getting the object error appears to be because you have not dimensioned objCollection to the correct object. I have modified the code in the origonal answer to do this and set the collection as in your snippet. To use this code I have had to include the reference to Microsoft HTML Object Library.
Please note that this code destroys the element collection before exiting the sub, you will presumably want to do something with it.
Sub LoadWebsite()
Dim iSecondCounter As Integer
Static iAttempts As Integer
Dim objCollection As IHTMLElementCollection
iAttempts = iAttempts + 1
Set ie = CreateObject("InternetExplorer.Application")
ie.Navigate "https://www.website.com/"
Application.StatusBar = "https://www.website.com/ is loading. Please wait..."
iSecondCounter = 0
Do While ie.Busy And iSecondCounter < 30
Application.Wait DateAdd("s", 1, Now)
iSecondCounter = iSecondCounter + 1
Loop
If iSecondCounter = 30 Then
ie.Quit
If iAttempts <= 3 Then Call LoadWebsite
End If
Set objCollection = (ie.Document.getElementsByTagName("INPUT"))
Cleanup:
Set ie = Nothing
Set objCollection = Nothing
End Sub