Hi,
I have what (I think) should be a relatively simple problem to solve, but I'm sure there must be a better way than my current solution!
I am using the Webservice function to obtain stock price data from Yahoo Finance, that all works correctly, however I can not work out any way to refresh the data without clicking into the cell and pressing enter.
The way I've automated this is to simply create a button that loops through all the cells, then sends an F2 keystroke, followed by an Enter keystroke.
This works, but obviously is slow and seems to be an untidy way of doing things.
Can anyone think of a better way to refresh (the usual refresh options don't seem to work, I presume as I'm obtaining data from an external site)?
For reference a typical cell is as follows:
=WEBSERVICE("http://download.finance.yahoo.com/d/quotes.csv?s="&$A2&"&f=n")
(where A2 is the stock ticker, this particular cell would bring up the stock descrption. If anyone wants a sample ticker to play with try ALP1.L).
I have what (I think) should be a relatively simple problem to solve, but I'm sure there must be a better way than my current solution!
I am using the Webservice function to obtain stock price data from Yahoo Finance, that all works correctly, however I can not work out any way to refresh the data without clicking into the cell and pressing enter.
The way I've automated this is to simply create a button that loops through all the cells, then sends an F2 keystroke, followed by an Enter keystroke.
This works, but obviously is slow and seems to be an untidy way of doing things.
Can anyone think of a better way to refresh (the usual refresh options don't seem to work, I presume as I'm obtaining data from an external site)?
For reference a typical cell is as follows:
=WEBSERVICE("http://download.finance.yahoo.com/d/quotes.csv?s="&$A2&"&f=n")
(where A2 is the stock ticker, this particular cell would bring up the stock descrption. If anyone wants a sample ticker to play with try ALP1.L).