Forum Discussion

eg1006's avatar
eg1006
Copper Contributor
May 31, 2020

External Web Data Import via VBA

Hi, I was working on automating a Task using VBA and was running into an issue.  I would greatly appreciate it if anyone could advise!

The topic is Financial Data. I am trying to Record a Program that will import Fundamental Data from a given Ticker Symbol (ex. MSFT for Microsoft). 

So I Start Macro >> Go to Data >> External Data >> From Web >> Load this Link: https://finance.yahoo.com/quote/MSFT/financials?p=MSFT

But then I get a Script Error: An error has occured in the script on this page, do you want to continue running scripts on this page? Yes/No message pop up.

No matter how many times I hit Yes, I still cant seem to accurately reference the data from these URL's.   I am learning through this link: https://www.youtube.com/watch?v=SgLzysnRXxA

Thank you in advance if anyone can help on this! 

2 Replies