+ Reply to Thread
Results 1 to 3 of 3

javascript causing web query problems

  1. #1
    TonyH.
    Guest

    javascript causing web query problems

    I'm having a problem pulling in data from a site that is using javascript to
    format certain pieces of data. The offending HTML looks like this:

    <script>writeCommas('174500')</script>

    What it's meant to do is clear but what happens when the page is imported is
    that the number is not imported. Since these are prices they then to be
    kinda important

    Any ideas how to deal with this problem? Excel 2003

    TIA,

    Tony

  2. #2
    Tim Williams
    Guest

    Re: javascript causing web query problems

    Your best bet may be to automate IE and have it open the offending page.
    Any javascript will run and produce the desired output: you can then get at
    the data via the Document Object model.

    Try searching the Google group archives for "automate IE Excel": there have
    been a few relevant threads recently.

    --
    Tim Williams
    Palo Alto, CA


    "TonyH." <[email protected]> wrote in message
    news:[email protected]...
    > I'm having a problem pulling in data from a site that is using javascript

    to
    > format certain pieces of data. The offending HTML looks like this:
    >
    > <script>writeCommas('174500')</script>
    >
    > What it's meant to do is clear but what happens when the page is imported

    is
    > that the number is not imported. Since these are prices they then to be
    > kinda important
    >
    > Any ideas how to deal with this problem? Excel 2003
    >
    > TIA,
    >
    > Tony




  3. #3
    TonyH.
    Guest

    Re: javascript causing web query problems

    Sounds like life is going to start sucking on this end of the keyboard.
    Timbo, thanks for the answer

    T.



    "Tim Williams" wrote:

    > Your best bet may be to automate IE and have it open the offending page.
    > Any javascript will run and produce the desired output: you can then get at
    > the data via the Document Object model.
    >
    > Try searching the Google group archives for "automate IE Excel": there have
    > been a few relevant threads recently.
    >
    > --
    > Tim Williams
    > Palo Alto, CA
    >
    >
    > "TonyH." <[email protected]> wrote in message
    > news:[email protected]...
    > > I'm having a problem pulling in data from a site that is using javascript

    > to
    > > format certain pieces of data. The offending HTML looks like this:
    > >
    > > <script>writeCommas('174500')</script>
    > >
    > > What it's meant to do is clear but what happens when the page is imported

    > is
    > > that the number is not imported. Since these are prices they then to be
    > > kinda important
    > >
    > > Any ideas how to deal with this problem? Excel 2003
    > >
    > > TIA,
    > >
    > > Tony

    >
    >
    >


+ 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