Results 1 to 4 of 4
  1. #1
    Join Date
    Jun 2015
    Location
    Wales. Land of the sheep.
    Posts
    1,228

    Distance Calculator.

    Quick question before I look further into this.

    I've just been looking at this and I have it working in excell:

    http://analystcave.com/excel-calcula...een-addresses/

    Could this be adapted to work in access?

    Thanks.

  2. #2
    ranman256's Avatar
    ranman256 is offline VIP
    Windows Vista Access 2010 32bit
    Join Date
    Apr 2014
    Location
    Kentucky
    Posts
    9,521
    yes, the vb code can be put in an access vb module.
    instead of feeding the function cell ranges, give it text box names.

    txtResult = GetDuration (txtBoxSTart, txtBoxDest)

  3. #3
    orange's Avatar
    orange is offline Moderator
    Windows 10 Access 2010 32bit
    Join Date
    Sep 2009
    Location
    Ottawa, Ontario, Canada; West Palm Beach FL
    Posts
    16,716

  4. #4
    Join Date
    Jun 2015
    Location
    Wales. Land of the sheep.
    Posts
    1,228
    Thank you both, This should keep me busy for a while

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Textbox Calculator
    By Randy in forum Access
    Replies: 10
    Last Post: 03-16-2019, 07:36 PM
  2. Mini-Calculator on a form
    By delaikhi in forum Forms
    Replies: 13
    Last Post: 09-10-2014, 02:04 PM
  3. Calculator
    By Azeez_Andaman in forum Access
    Replies: 1
    Last Post: 08-14-2011, 12:10 PM
  4. Excel calculator
    By warrigal in forum Database Design
    Replies: 0
    Last Post: 03-15-2011, 05:50 PM
  5. Calculator on the form?
    By Peljo in forum Access
    Replies: 0
    Last Post: 02-28-2008, 02:58 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums