+ Reply to Thread
Results 1 to 2 of 2

Looking to add more Access DB lookups to a VBA process

  1. #1
    Spammer
    Join Date
    11-21-2014
    Location
    California
    MS-Off Ver
    2010
    Posts
    387

    Looking to add more Access DB lookups to a VBA process

    Before I post, please let me preface by I am very new to Access and VBA programming. I am stepping into the middle of code that while i can logically follow, I do not know much about.

    Right now, I have an excel sheet where two zip codes are entered.... and then i click a button to have a VBA script run and it will search the DB for shipping zone numbers that link to those two zip codes.

    It is working well so far..... but now it is time to add more to the DB referencing.

    The ultimate goal is to enter in two zip codes and a weight, and have the excel sheet return a cost.

    So in order for the sheet to do that, it needs to look at the two zip codes, and determine a zone number.
    Then, depending on the shipping speed, it will look at on of the 5 zone numbers returned, the weight of the item and reference a rate table in the Access DB.

    There are 5 choices for shipping speeds... and each of those 5 choices has its own "table" in the database.

    If at all possible, i would like to just press the "calculate" button once... and have it pull all of the necessary information.

    Access Table names are:
    Zone (currently using for zone calculations)
    GND - Ground
    3DS - 3 Day
    2DA - 2nd day
    NDA - Next Day Air
    NDAS - Next Day Air Saver

    Would want the rates to appear in column "p" of the attached file.
    Attached Files Attached Files

  2. #2
    Spammer
    Join Date
    11-21-2014
    Location
    California
    MS-Off Ver
    2010
    Posts
    387

    Re: Looking to add more Access DB lookups to a VBA process

    If it helps, here is an updated version of the file.... the tab UPS Tariff is what is in the Access DB. Each of the different sections that appear on the tab, have it's own table in the Database. Also each of the different sections have the same structure within the DB
    Attached Files Attached Files
    Last edited by snuffnchess; 04-06-2016 at 01:12 AM.

+ 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. Access form works with access Viewer but not full version of Access?
    By Shanyn in forum Access Tables & Databases
    Replies: 1
    Last Post: 10-22-2014, 01:14 PM
  2. Use access to simplify data query process
    By shanea.kr in forum Access Tables & Databases
    Replies: 0
    Last Post: 07-10-2012, 01:48 PM
  3. More than Multiple Lookups: Conditional Multiple Lookups
    By mohitspamz in forum Excel General
    Replies: 6
    Last Post: 11-01-2009, 03:32 AM
  4. Replies: 2
    Last Post: 05-16-2005, 12:07 AM
  5. Replies: 1
    Last Post: 05-15-2005, 07:07 PM
  6. [SOLVED] How to count process running time ( process not finished)
    By miao jie in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 01-13-2005, 06:06 AM
  7. [SOLVED] How to count process running time ( process not finished)
    By miao jie in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-12-2005, 02:06 AM

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