I have a free open-source add-in that can grab quotes and other
financial data from the web. The add-in, documentation on its
functions, and sample templates, can be found in the files area of
this Yahoo group:
http://finance.groups.yahoo.com/group/smf_addin/
For example, there is a function to grab current quotes. Array-
entering this formula over a 2-row by 3-column range:
=RCHGetYahooQuotes("MMM,IBM","snl1")
....would use Yahoo's current quotes interface to return ticker symbol,
company name, and last traded price for tickers MMM and IBM. You can
also refer to cells, as in:
=RCHGetYahooQuotes(H33:H34,I32:K32)
....where H33:H34 are cells that contain ticker symbols and I32:K32 are
cells that contain Yahoo data codes (there are dozens of them).
Microsoft also has an add-in, but theirs is limited to fewer data
items:
http://www.microsoft.com/downloads/details.aspx?FamilyID=485FCCD8-9305-4535-B939-3BF0A740A9B1