+ Reply to Thread
Results 1 to 3 of 3

Trying to copy URL into Excel using VBA (And failing miserably)

  1. #1
    Registered User
    Join Date
    06-12-2014
    Posts
    2

    Question Trying to copy URL into Excel using VBA (And failing miserably)

    Hi all, my first time here (in the 'flesh' at least)

    I am attempting to use postcodes to get the Longitude / Latitude and/or Easting / Northing Coordinates from Streetmap.co.uk

    I have a Sheet with a tidy little button to set it all off from but cannot, for the life of me, get it to do anything after trawling the web for days....

    I can get it to open the webpage and bring up the correct postcode search page but cannot get it to strip the url into my sheet!!

    Please help

    Phil

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

    Re: Trying to copy URL into Excel using VBA (And failing miserably)

    How important is data accuracy here? And what do you want to do with it? the process you are referring to is known as reverse Geo-Coding and all services are not created equal - some are much more accurate than others. Commercial services tend to be much better - we geocode to the property, whereas most services will only geocode to the centre of the postcode.

    There are plenty of commercial services out there that make this very easy - we use PostCode anywhere when setting up new customer accounts and then fall back to the free OS database for bulk additions - they provide easting and northing, but it's relatively straightforward to convert these to lat/lon.

    Also, which do you really need, Easting/Northing or Lat/Long?

  3. #3
    Registered User
    Join Date
    06-12-2014
    Posts
    2

    Re: Trying to copy URL into Excel using VBA (And failing miserably)

    What I'm really trying to do is find a way to get VBA to pick up the url of a page I have loaded and place it in an excel sheet that I'm running the button macro from.

    I have a partial macro to get the information from the sheet and open the "streetmap.co.uk" to the correct postcode and I can see the information in the url but am unable(not quite up to speed) to get the url string back.

    Any help would be greatly appreciated.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Word to Excel Merge connection failing
    By techexpressinc2 in forum Word Programming / VBA / Macros
    Replies: 1
    Last Post: 02-01-2011, 01:28 PM
  2. AutoRecover Failing in Excel 2003
    By rs2781 in forum Excel General
    Replies: 0
    Last Post: 11-26-2008, 09:34 AM
  3. copy method of object failing
    By vj2india in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 04-19-2006, 09:25 PM
  4. [SOLVED] VBA - Code failing in Excel 97
    By Scott Wagner in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-05-2006, 09:55 AM
  5. [SOLVED] Excel Copy Method Failing.
    By [email protected] in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-11-2005, 01:06 PM

Tags for this Thread

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