I would like to import data from a website. I have successfully created the query with a static URL. The URL is: https://coinmarketcap.com/currencies...8&end=20171121
Tomorrow I would like to be able to just hit refresh to update the table with the new row of data. However, tomorrow the URL will be: https://coinmarketcap.com/currencies...8&end=20171122
So I need a way to have the URL of the Web Query depend on a parameter, which is in turn set at the value of a cell. (I will use a cell formula to create a cell containing the current date in YYYYMMDD format).
Having searched, all I can find was a way to make Excel prompt the user for a parameter when the query is run, which is not what I want, because I will always want it run with the current date in the URL. (By the way, I was not able to follow the instructions given to do even this; I need it properly spelt out, as I am new to web queries, and my VBA knowledge is intermediate.)
I am using Excel 2016 and Windows 10.
Can anyone help me out?
Bookmarks