Hi again guys,
I’ve been struggling for a couple of days with this vba/html problem.
The macro is supposed to enter a site which requires username and password, enter the info and redirect to a URL containing “my portfolio”.
At this pint everything goes smoothly, but now I want to extract specific stock prices based on the HTML-code.
As you can see from the uploaded picture I have 5 different stocks in the portfolio, each stock with different id; “tr1”-“tr5”. Normally when I’m extracting info from webpages the “class” is unique but here the class is “kursPlus” for each stock. I have highlighted stock number 1 in the picture and the stock price is 3,01 (in the grey area).
nordnet.PNG
So, my question is, how can I extract each stock price and print them in different cells in excel?
This is my code so far;
Bookmarks