Dear all,

I have created a code to scrape the price shares. It works fine for the first share. However, there is error for the line "Temp_Hold3 = Doc.getElementsByClassName("qwidget-dollar")(0).innerText" when i try to scrape the price of the second share. I am very puzzled as I copied and paste the same code to get the price of the second share, why it doesn't work the second time?