+ Reply to Thread
Results 1 to 4 of 4

Web Query (Table Cell Isolation)

  1. #1
    Registered User
    Join Date
    11-25-2008
    Location
    Kalispell
    Posts
    2

    Web Query (Table Cell Isolation)

    Good afternoon all,

    I don’t know if this is possible, but I am trying to write a web query that will isolate a singe cell within a web table. Let’s take for example your standard stock summary table for Microsoft from Yahoo Finance. I have an .iqy file that states the following:

    WEB
    1
    http://finance.yahoo.com/q?s=msft

    Selection=table1
    Formatting=None
    PreFormattedTextToColumns=True
    ConsecutiveDelimitersAsOne=True
    SingleBlockTextImport=False
    DisableDateRecognition=False
    DisableRedirections=False

    This will populate the following in excel:

    Column-A Column-B
    1 Last Trade: 20.13
    2 Trade Time: 3:55PM ET
    3 Change: Down 0.56 (2.71%)
    4 Prev Close: 20.69
    5 Open: 20.85
    6 Bid: 20.10 x 21700
    7 Ask: 20.11 x 13800
    8 1y Target Est:28.45

    Now let’s say for example I only want my query to pull what is in cell B1 “$20.13” and not all the other information. Is this a possibility?

    Thank you
    Thomas

  2. #2
    Registered User
    Join Date
    10-22-2008
    Location
    NYC
    MS-Off Ver
    2003
    Posts
    4
    I don't know how helpful this will be, but have you tried the Stock Market Functions add-in?

    http://finance.groups.yahoo.com/group/smf_addin/

    --JP

  3. #3
    Valued Forum Contributor Shijesh Kumar's Avatar
    Join Date
    05-26-2008
    Location
    Bangalore / India
    MS-Off Ver
    2000
    Posts
    717
    Using web query it is not possible.

    You can use a workaround,

    Create VBA script to run web query.
    Delete unwanted data.

  4. #4
    Registered User
    Join Date
    11-25-2008
    Location
    Kalispell
    Posts
    2
    Thanks for the feed back guys.

    I will give your suggestions a try. I wanted to see if it was possible first before trying alternate methods.

    Thanks again.

    T

+ 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