You can insert a web browser control in a form and display the data from many website pages that way. Not quite the same as extracting the contents of a table in a web page, to be sure, and not really what the question is about. But it is "data from the web" in Access.
Good morning GPG, I was definely talking about extracting data from the web to a table directly. When Tony posted that link, I was hoping there was a way to do it as easily in Access. I was certain there wasnt, but it would not be the first time I was wrong...
Good morning GPG, I was definely talking about extracting data from the web to a table directly. When Tony posted that link, I was hoping there was a way to do it as easily in Access. I was certain there wasnt, but it would not be the first time I was wrong...
I wanted to follow up with an example of what I suggested. That YouTube link is pulling data from a Wikipedia page, so I went and found an API that is supposed to work with Wikipedia. To use it in VBA, of course, would require some advanced coding, but it should be doable.
The video in post #1 shows one of the main reasons why Access needs its own version of Excel's Power Query AKA Get & Transform
Unfortunately it can't be done that easily in Access.... so it is probably easiest to import to Excel then link or import that data to Access.
However you can still get a lot of data directly into Access from the web by various means.
There are numerous examples. Here are a few of mine:
1. Web scraping
Here are 2 examples -
a) grabbing the latest version number from a web page and updating if it is newer:
This free app is used to get a list of addresses & house price info for selected UK postcodes together with the geo-coordinates and a static Google map for that postcode
www.isladogs.co.uk
2. Downloading data to a local table using APIs with the data usually in JSON/XML/CSV format.
For example, the latest currency exchange rates
I wanted to follow up with an example of what I suggested. That YouTube link is pulling data from a Wikipedia page, so I went and found an API that is supposed to work with Wikipedia. To use it in VBA, of course, would require some advanced coding, but it should be doable.