+ Reply to Thread
Results 1 to 9 of 9

Excel Web Query browser must have javascript enabled

  1. #1
    Registered User
    Join Date
    11-10-2012
    Location
    UK
    MS-Off Ver
    Excel 2003
    Posts
    6

    Excel Web Query browser must have javascript enabled

    I am trying to perform an excel web query on the very excellent FantasticFiction.co.uk books website - for purely non-commercial reasons (I want to be aware of new books coming out). The website uses javascript to create tables. The web query gives me a message saying:

    "Sorry, the browser you are using must have javascript enabled in order to see this page"

    I have searched for solutions on a variety of websites, and not found anything that I can make work. Does anybody have an example?

  2. #2
    Registered User
    Join Date
    11-10-2012
    Location
    UK
    MS-Off Ver
    Excel 2003
    Posts
    6

    Re: Excel Web Query browser must have javascript enabled

    Here is the code I was using:
    Please Login or Register  to view this content.

  3. #3
    Registered User
    Join Date
    11-10-2012
    Location
    UK
    MS-Off Ver
    Excel 2003
    Posts
    6

    Re: Excel Web Query browser must have javascript enabled

    So I have searched all over the web for options. Concluded that the javascript makes web query unworkable.

    Tried more than 20 different options, including web scrapers and too many complications to remember.

    Eventually found this very simple copy/paste code in Ozgrid, courtesy of JerryD in 2007 - to whom many thanks, because it works!

    Please Login or Register  to view this content.

  4. #4
    Forum Guru Norie's Avatar
    Join Date
    02-02-2005
    Location
    Stirling, Scotland
    MS-Off Ver
    Microsoft Office 365
    Posts
    19,643

    Re: Excel Web Query browser must have javascript enabled

    What data were you trying to get?

    You didn't mention it in the first post.
    If posting code please use code tags, see here.

  5. #5
    Valued Forum Contributor
    Join Date
    05-21-2009
    Location
    Great Britain
    MS-Off Ver
    Excel 2003
    Posts
    550

    Re: Excel Web Query browser must have javascript enabled

    Try this. But first you must set a reference to Microsoft HTML Object Library in the Tools - References menu in the VBA editor, otherwise it won't work.
    Please Login or Register  to view this content.
    Post responsibly. Search for excelforum.com

  6. #6
    Registered User
    Join Date
    09-01-2014
    Location
    Hong Kong
    MS-Off Ver
    2003
    Posts
    4

    Re: Excel Web Query browser must have javascript enabled

    I used the code with another URL: http://www.macauslot.com/slot/html/result/livescore.htm with you code.
    Error occurred @ Loop Until contentDiv.getElementsByTagName("TABLE").Length > 0
    Please help. I tried to access the web getting some scores directly into my Excel 2003 worksheets

    Thanks for your help in advance...

  7. #7
    Forum Guru Norie's Avatar
    Join Date
    02-02-2005
    Location
    Stirling, Scotland
    MS-Off Ver
    Microsoft Office 365
    Posts
    19,643

    Re: Excel Web Query browser must have javascript enabled

    For a different site/page the code is going to be different, so better to start a new thread.

  8. #8
    Registered User
    Join Date
    09-01-2014
    Location
    Hong Kong
    MS-Off Ver
    2003
    Posts
    4

    Re: Excel Web Query browser must have javascript enabled

    OK. Thanks...

  9. #9
    Registered User
    Join Date
    09-01-2014
    Location
    Hong Kong
    MS-Off Ver
    2003
    Posts
    4

    Re: Excel Web Query browser must have javascript enabled

    Quote Originally Posted by Chippy View Post
    Try this. But first you must set a reference to Microsoft HTML Object Library in the Tools - References menu in the VBA editor, otherwise it won't work.
    Please Login or Register  to view this content.

    Please advice how you figure out using the tag "ffcontent" as the getElementById ???
    Thanks...

+ 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