Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default 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:

<scriptwriteCommas('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   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,588
Default 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." wrote in message
...
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:

<scriptwriteCommas('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   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default 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." wrote in message
...
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:

<scriptwriteCommas('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
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
my personal.xls file is causing problems Chrisinct Excel Discussion (Misc queries) 3 December 7th 06 03:28 PM
Rand () causing Problems. JCary Excel Discussion (Misc queries) 1 March 6th 06 10:38 PM
Splash Screen Causing Problems Kevin R Excel Programming 8 August 17th 05 02:54 PM
Addins causing problems Andrew- Excel Programming 6 June 30th 05 07:25 PM
query page with javascript Rhonda[_2_] Excel Programming 0 September 23rd 03 10:57 AM


All times are GMT +1. The time now is 10:24 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"