Results 1 to 3 of 3
  1. #1
    sdmpp5 is offline Novice
    Windows 7 64bit Access 2010 32bit
    Join Date
    Jul 2016
    Posts
    2

    Importing Column Ranges From Excel to Access

    I am looking for the VBA used to import multiple column ranges from an Excel spreadsheet to Access (ie: "A:V", "X:Z"). I am able to do this through a saved import, yet have not found a way to edit anything other than the file locations for those imports, so am thinking VBA is the way to go.

  2. #2
    CJ_London is online now VIP
    Windows 10 Access 2010 32bit
    Join Date
    Mar 2015
    Posts
    11,845
    not quite sure what your question is but with vba you would use the transferspreadsheet method, although I'm not sure you can import multiple ranges into a single table

    You would probably be better to link to the excel file (also using transferspreadsheet) then an append query to copy data from the linked table to the destination table/s.

  3. #3
    HiTechCoach's Avatar
    HiTechCoach is offline MS MVP - Access Expert
    Windows 8 Access 2013
    Join Date
    Jul 2010
    Location
    Oklahoma, USA
    Posts
    705
    This might help:

    Import Excel Date
    Boyd Trimmell aka Hitechcoach
    Database Architect and Problem Solver
    Microsoft MVP - Access Expert
    25+ years specializing in Accounting, Inventory, and CRM systems
    "If technology doesn't work for people, then it doesn't work."

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

Similar Threads

  1. From Access VBA, Loop Excel WS to get Named Ranges
    By ilcaa72 in forum Programming
    Replies: 4
    Last Post: 12-19-2016, 03:01 PM
  2. Replies: 20
    Last Post: 02-02-2015, 03:02 AM
  3. Replies: 12
    Last Post: 10-08-2014, 02:35 PM
  4. Replies: 2
    Last Post: 04-15-2013, 04:00 AM
  5. Replies: 10
    Last Post: 12-28-2012, 02:06 PM

Tags for this Thread

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