📨 Have you signed up to the Forum's new Email Digest yet? Get a selection of trending threads sent straight to your inbox daily, weekly or monthly!

EXCEL's 'Get External Data'

Options
I want to load the FTSE from http://finance.yahoo.com/q/bc?s=%5EFTSE&t=1d&l=on&z=l&q=l&c= into EXCEL, but I want this to be constantly updated.

a) How would I get the FTSE Index Value into EXCEL?
b) Does anyone know how I the Website can be constantly refreshed automatically, thereby updating the Index Value in EXCEL?
It has taken about 4,500,000,000 (4.5 billion) years for the Earth to form as it is now .........
and it'll only take about another 100 years for mankind to really **** it up!!!!

Comments

  • innovate
    innovate Posts: 16,217 Forumite
    10,000 Posts Combo Breaker
    Import:
    Data - Import External Data - New Web Query. Tick the yellow arrow above the information you want (so arrow turns into a green tick). Click IMPORT when you have selected all you want (you probably have to get more data than you want- but if you keep the imported data on a separate spreadsheet, you can refer to the cells of interest from other sheets)

    Refresh:
    Click on any cell of your imported data, then right-click, select Data Range Properties. Specify the refresh options you want.

    That's it!

    (you can also manually refresh by by right-clicking and "Refresh now")
  • innovate wrote:
    Import:
    Data - Import External Data - New Web Query. Tick the yellow arrow above the information you want (so arrow turns into a green tick). Click IMPORT when you have selected all you want (you probably have to get more data than you want- but if you keep the imported data on a separate spreadsheet, you can refer to the cells of interest from other sheets)

    Refresh:
    Click on any cell of your imported data, then right-click, select Data Range Properties. Specify the refresh options you want.

    That's it!

    (you can also manually refresh by by right-clicking and "Refresh now")

    Don't have "Data - Import External Data - New Web Query", only "Data - Get External Data - New Web Query" ... if that makes any difference, and I can't see any yellow arrow!!!

    I've used "Data - Get External Data - New Web Query", browsed to the website, selected 'Only the Tables' and formatting is set to 'None'; then OK.

    The data is imported to EXCEL and, as you say, I can use 'Refresh' on the External Data toolbar. I can set this to automatically operate with a macro.

    Do I need to do anything with 'Save Query ..' and/or 'Advanced..'?

    BUT WHAT'S THIS YELLOW ARROW??????

    Using EXCEL 2000.
    It has taken about 4,500,000,000 (4.5 billion) years for the Earth to form as it is now .........
    and it'll only take about another 100 years for mankind to really **** it up!!!!
  • tigermatt
    tigermatt Posts: 1,925 Forumite
    1,000 Posts Combo Breaker
    It doesn't look like you need to "Save Query" - the connection info is stored in the workbook when you save it - you just have to refresh it when you open it again.

    It doesn't matter that you have "Get External Data" not "Import External Data". They are both the same thing. :)
  • innovate
    innovate Posts: 16,217 Forumite
    10,000 Posts Combo Breaker
    tigermat has already answered some of your questions. Sorry about different terminology - I have Excel 2003, don't know what MS changed between versions.

    Ref the yellow arrows: they're actually black arrows with yellow background (at least in my version of Excel)
    excel.jpg

    Even with Excel 2000, you should be able to specify automatic refresh, via dialogue window like this one

    excel1a.jpg

    You should also be able to display a tool bar for your external data (View - Toolbars - External Data)
    excel1b.jpg
  • Thanks for this .... unfortunately I only have Excel 2000, version 2003 looks to do EXACTLY what I want, except for the refresh, which I want to be refreshed more often than 1 minute, which is the minimum EXCEL will allow ..... unless the Refresh could be invoked everytime data in a certain range (i.e. A1:E6) is changed.
    It has taken about 4,500,000,000 (4.5 billion) years for the Earth to form as it is now .........
    and it'll only take about another 100 years for mankind to really **** it up!!!!
  • albertross_2
    albertross_2 Posts: 8,932 Forumite
    Grumpy,

    This isn't answering your question about Excel, so please ignore if irrelevant..

    http://www.winstock.co.uk/ This software in combination with a winTV teletext card, can monitor and update portfolio's (in delayed realtime) if that is any use. Also, many financial (and share dealing) sites can monitor either a real or fictitous (paper) portfolio, for free, if that is what you are trying to achieve..
    Ever get the feeling you are wasting your time? :rolleyes:
  • Chippy_Minton
    Chippy_Minton Posts: 3,339 Forumite
    Thanks for this .... unfortunately I only have Excel 2000, version 2003 looks to do EXACTLY what I want, except for the refresh, which I want to be refreshed more often than 1 minute, which is the minimum EXCEL will allow ..... unless the Refresh could be invoked everytime data in a certain range (i.e. A1:E6) is changed.
    You can do this by using Excel's OnTime method or a Windows timer and http://www.cpearson.com/excel/ontime.htm shows how.

    Press Alt+F11 to open the VB editor and paste the Excel timer code from that page into a module. In the The_Sub subroutine, put:

    ThisWorkbook.RefreshAll

    before the call to StartTimer. Test the refresh by running the StartTimer macro and stop it by running StopTimer. Once it's working correctly, call those subroutines in the Workbook_Open and Workbook_BeforeClose events respectively, as mentioned on that page.
This discussion has been closed.
Meet your Ambassadors

🚀 Getting Started

Hi new member!

Our Getting Started Guide will help you get the most out of the Forum

Categories

  • All Categories
  • 351.1K Banking & Borrowing
  • 253.2K Reduce Debt & Boost Income
  • 453.6K Spending & Discounts
  • 244.1K Work, Benefits & Business
  • 599.1K Mortgages, Homes & Bills
  • 177K Life & Family
  • 257.4K Travel & Transport
  • 1.5M Hobbies & Leisure
  • 16.1K Discuss & Feedback
  • 37.6K Read-Only Boards

Is this how you want to be seen?

We see you are using a default avatar. It takes only a few seconds to pick a picture.