+ Reply to Thread
Results 1 to 4 of 4

Pulling data from website

  1. #1
    Registered User
    Join Date
    03-31-2006
    Posts
    14

    Pulling data from website

    Hi,

    Is there a way where I can pull data from google finance through excel?

    For example, I type in a ticker symbol of a stock in cell A1 (say F for Ford), and want A3 to show pull over the income statement (http://finance.google.com/finance?fstype=ii&q=F) and A50 to pull over balance sheet (http://finance.google.com/finance?fstype=bi&q=F) .

    Thanks.

  2. #2
    Valued Forum Contributor mudraker's Avatar
    Join Date
    11-10-2003
    Location
    Melbourne, Australia
    Posts
    3,983
    With a macro - You just need to decide how to trigger the macro to run

    Some options are
    From a button
    When you change the value of A1


    Please Login or Register  to view this content.
    Please Read Forum Rules Before Posting
    Wrap VBA code by selecting the code and clicking the # icon or Read This
    How To Cross Post politely

    Top Excel links for beginners to Experts

    If you are pleased with a member's answer then use the Scales icon to rate it
    If my reply has assisted or failed to assist you I welcome your Feedback.

  3. #3
    Registered User
    Join Date
    03-31-2006
    Posts
    14
    Thanks Mudraker. That was very helpful.

    I'm pretty new to this macro business, and for the most part, I think I understand what was written down. Some follow up questions if I may:

    Going back to the ford income statement example, (http://finance.google.com/finance?fstype=ii&q=F), google allows the user to switch between Quarterly data and Annual data. However, the website address remains the same.

    If I wanted to tell excel to grab the annual data as opposed to the quarterly data, which part of the macro do I code this in? Is it related to the web table?

    On websites like these, where you can switch between data without the website address changing, how do tell excel which link to pull the data from.

    Thanks again.

  4. #4
    Valued Forum Contributor mudraker's Avatar
    Join Date
    11-10-2003
    Location
    Melbourne, Australia
    Posts
    3,983
    It can not be done using a webquery. Which is what the macro uses.

    I do not have the knowledge to know if it can be done any other way

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1