I cannot seem to retrieve data using "getelementbyID"
Ex: MainBal=ie.document.getelementbyID("cashAvailBal1").value

However, thanks to one of your posts, this works.
Ex: MainBal=ie.document.getelementsbyClassname("amount") (0).innertext

Problem?

The next amount I want to retrieve has the same classname. "amount"

I tried this: ie.document.getelementbyid("cashAvailBal1").getelemensbyclassname("amount").value

Did not work.

Code Example Start:
Dim MainBal As String, BudgetBal As String
Do While IE.Busy
Application.WAIT DateAdd("s", 1, Now)
Loop
'This works just fine
MainBal = IE.document.getElementsByClassName("amount")(0).innerText

Do While IE.Busy
Application.WAIT DateAdd("s", 1, Now)
Loop

'This does not
BudgetBal = IE.document.getElementsByClassName("amount")(1).innerText

MsgBox MainBal & vbLf & BudgetBal
Code Example End

Any help with this would be greatly appreciated.

BTW this is my first post