+ Reply to Thread
Results 1 to 10 of 10

Problem with Excel Web Query importing

  1. #1
    Registered User
    Join Date
    01-26-2012
    Location
    Slovenia; Kranj
    MS-Off Ver
    Office 365
    Posts
    67

    Question Problem with Excel Web Query importing

    Hi,

    I'm new here ... as writing a question ... but as founding a solution for my Excel issues, I was often a visitor - so thx for all previous help!

    Now I have funny or scary issue with Web Query. I'm using VBA, but I found out that even trough Web Query dialog window I got same "error". I'm trying to get some data from Google Map - json stuff.

    So I open a ... oh yes - Excel 2010 ... "get data from web" and in dialog box New Web Query under Address: paste this link ...

    http://maps.googleapis.com/maps/api/...z&sensor=false

    ... if you click it, you'll see json structure of geo-location for some address (FireFox will open it, IE you need to select open if you didn't play with Win Registry). Same structure I see in dialog box ...

    web_query_01.jpg

    ... but when I click Import I don't get same results ...

    web_query_02.jpg

    I've played with all options, but always same result. In most of cases this is working, but now I'm facing with this issue and I don't know what could be wrong.

    Does anybody have any idea? Advice?


    I would appreciate any kind of help ... thx, Marko
    Last edited by DiCaver; 02-09-2012 at 04:01 AM.

  2. #2
    Registered User
    Join Date
    01-26-2012
    Location
    Slovenia; Kranj
    MS-Off Ver
    Office 365
    Posts
    67

    Re: Problem with Excel Web Query importing

    Nobody? :-( ... Did somebody tried and did you get same error?

  3. #3
    Forum Guru Kyle123's Avatar
    Join Date
    03-10-2010
    Location
    Leeds
    MS-Off Ver
    365 Win 11
    Posts
    7,238

    Re: Problem with Excel Web Query importing

    Hi DiCaver, unfortunately using this service in this way violates the T&Cs of the service unless you have a google map in your worksheet which you are displaying the results in

  4. #4
    Registered User
    Join Date
    01-26-2012
    Location
    Slovenia; Kranj
    MS-Off Ver
    Office 365
    Posts
    67

    Re: Problem with Excel Web Query importing

    Quote Originally Posted by Kyle123 View Post
    Hi DiCaver, unfortunately using this service in this way violates the T&Cs of the service unless you have a google map in your worksheet which you are displaying the results in
    Hi Kyle123,

    don't worry ;-) This Excel document have Google Map images, links to the location on there maps, Google Map T&C on one sheet, there logo, ... so I think that this is not a problem ... but I still have a problem with above issue

    Cheers, Marko

  5. #5
    Forum Guru Kyle123's Avatar
    Join Date
    03-10-2010
    Location
    Leeds
    MS-Off Ver
    365 Win 11
    Posts
    7,238

    Re: Problem with Excel Web Query importing

    Ok in that case then...

    What info do you actually need from the geocoding, I'm assuming you don't need it all? It's easier to request and parse in code than a webquery

  6. #6
    Registered User
    Join Date
    01-26-2012
    Location
    Slovenia; Kranj
    MS-Off Ver
    Office 365
    Posts
    67

    Re: Problem with Excel Web Query importing

    Quote Originally Posted by Kyle123 View Post
    ... It's easier to request and parse in code than a webquery ...
    Before that issue everything was working normally ... WebQuery have downloaded info, putted in a cell and then with few "MID, LEFT, FOUND, REPLACE, ..." I've extracted and distributed on sheet(s) needed info.

    So I know that there are other ways to get data from Google Map trough json, but I didn't like bunch of modules or class modules as this was working. Do you have any other idea how to download data from Google Map? I started with this Excel JSON conversion, but as I said - I didn't like bunch of classes and modules. So I started from this Google Maps API Web Services and WebQuery ... until now

    So my main problem is at the moment, that I can't figure out why WebQuery in most cases is working and in some not ... see images in my first post ...

    Thx for now ... cheers, Marko

  7. #7
    Forum Guru Kyle123's Avatar
    Join Date
    03-10-2010
    Location
    Leeds
    MS-Off Ver
    365 Win 11
    Posts
    7,238

    Re: Problem with Excel Web Query importing

    I couldn't get a webquery working at all with JSON in 2003, I ran the below code without an issue however if it helps:
    Please Login or Register  to view this content.

  8. #8
    Registered User
    Join Date
    01-26-2012
    Location
    Slovenia; Kranj
    MS-Off Ver
    Office 365
    Posts
    67

    Re: Problem with Excel Web Query importing

    Quote Originally Posted by Kyle123 View Post
    I couldn't get a webquery working at all with JSON in 2003, I ran the below code without an issue however if it helps:
    Please Login or Register  to view this content.
    Hi,

    I'm using similar thing, except that collecting data from 3 cells ... and it is working in 95% cases ... and I still didn't found out why in those 5% doesn’t work

    Try this address ... ?address=ulica+dr+horvata+4+2270+ormoz& ... and let me know the results. This is this location.

    Cheers, Marko

  9. #9
    Forum Guru Kyle123's Avatar
    Join Date
    03-10-2010
    Location
    Leeds
    MS-Off Ver
    365 Win 11
    Posts
    7,238

    Re: Problem with Excel Web Query importing

    It's a typo, horvata should be hrovata...

  10. #10
    Registered User
    Join Date
    01-26-2012
    Location
    Slovenia; Kranj
    MS-Off Ver
    Office 365
    Posts
    67

    Re: Problem with Excel Web Query importing

    Quote Originally Posted by Kyle123 View Post
    It's a typo, horvata should be hrovata...
    Shame on me ... it is true! I've checked other samples and in every case when it is not working there is typo ... like I write - shame on me

    Anywhay THX!

    Cheers, Marko

+ 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