+ Reply to Thread
Results 1 to 4 of 4

VBA to calculate distance between Uk Postcodes - Urgent help

  1. #1
    Registered User
    Join Date
    09-02-2011
    Location
    Liverpool, england
    MS-Off Ver
    Excel 2003
    Posts
    32

    Unhappy VBA to calculate distance between Uk Postcodes - Urgent help

    Hi all,

    Iam not the best when its comes to Macro's and VBA's as I am only just starting to learn the stuff

    Can anyone help me create a Macro to determine the distance between two UK Postcodes? For Example a1: L21 1LA b1: L3 9SJ c1: 5.1 miles

    Any help and some sort of idiots guide would be greatly appreciated,

    Thanks in advance!

    Jason

  2. #2
    Forum Expert JapanDave's Avatar
    Join Date
    06-10-2008
    Location
    The grid, I got in!
    MS-Off Ver
    Excel 2010/13
    Posts
    1,696

    Re: VBA to calculate distance between Uk Postcodes - Urgent help

    Post a sample workbook of what you are trying to achieve.
    Be fore warned, I regularly post drunk. So don't take offence (too much) to what I say.
    I am the real 'Napster'
    The Grid. A digital frontier. I tried to picture clusters of information as they moved through the computer. What did they look like? Ships? motorcycles? Were the circuits like freeways? I kept dreaming of a world I thought I'd never see. And then, one day...

    If you receive help please give thanks. Click the * in the bottom left hand corner.

    snb's VBA Help Files

  3. #3
    Registered User
    Join Date
    09-02-2011
    Location
    Liverpool, england
    MS-Off Ver
    Excel 2003
    Posts
    32

    Re: VBA to calculate distance between Uk Postcodes - Urgent help

    Afternoon,

    I have attached a sample workbook, I have looked at past similar post's and tried a couple of different Macro's, just can't seem to get it right!

    Thanks
    JasonPostcode distance.xls

  4. #4
    Registered User
    Join Date
    09-02-2011
    Location
    Liverpool, england
    MS-Off Ver
    Excel 2003
    Posts
    32

    Re: VBA to calculate distance between Uk Postcodes - Urgent help

    Hi,

    Have managed to put the attached macro in, but can only get it to work out distance for 1 row:

    L21 1LA M2 2AS
    62.7

    Can anyone edit the attached macro to be set out as per my original request?

    Thanks
    JasonPostcode distance.xls

+ 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