1035 Information from the Web
Here is the result (notice that the word “Close*” that was part of the
header for column G got separated into its own column):
41.3 Dynamic Web Queries
The copy-paste operations illustrated in the previous section are static:
once copied the data do not change to refl ect changes in the data stored
on the Web page from which they came. In this section we illustrate the
beginnings of dynamic Web queries—links between Excel and the data
source that can be updated automatically.
If the data on the Web are updated frequently and we want the updates
to be refl ected in our worksheet, we can use a Web query. Web queries
work on some but not all the data we can see on the Web.
1
Suppose we
need information about the Dow Jones Industrial Average index; one
place to get the information is the Web address (or URL) linking to
Yahoo, http://fi nance.yahoo.com/q?s=DJI. Here is what the relevant part
of the Yahoo Web site looks like:
1. In technical terms, the data generation should be done on the Web server and not on
the client computer.