Results 1 to 2 of 2
  1. #1
    JOSE LUIS is offline Novice
    Windows 7 32bit Access 2007
    Join Date
    Jan 2010
    Location
    LEON-SPAIN
    Posts
    3

    Talking Importing filtered data from excel.

    Hello everybody!
    I need to import some data from and excel worksheet (VisaID, TestDate and Mark) to a access table, tblTest (TestID, ContactID and Mark). The problem is that I only have to import the data from my contacts, not the rest, and I´d like to do it programatically so that I can save a lot of time, however I don't know neither how to start nor the best way to do it, maybe these are the steps i need to follow:



    1º Because tblContacts contains : ContactID and VisaID, could I export the contactID to the contacts who VisaID in the worksheet match with the VisaID of the tblContacts?

    2º Could I filter then the worksheet, importing only the records with a not null ContactID to my TestTable (VisaID, TestDate and Mark)?

    I'll be very gratefull of any help.
    Thank you very much in advance.

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,954
    Depending on the Excel data structure, can probably set a link to the sheet. Linked sheets can be used just like tables in queries. The linked sheet can be used as data source for INSERT and UPDATE actions into other tables.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

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

Similar Threads

  1. Importing Data from Excel
    By ineedaccesshelp in forum Import/Export Data
    Replies: 2
    Last Post: 11-28-2012, 11:02 PM
  2. Importing data from Excel
    By nik9 in forum Import/Export Data
    Replies: 2
    Last Post: 10-12-2012, 02:36 PM
  3. Importing data from Excel
    By dsaxena15 in forum Access
    Replies: 1
    Last Post: 10-03-2012, 10:56 AM
  4. Importing data from excel:
    By Mclaren in forum Programming
    Replies: 5
    Last Post: 04-30-2012, 01:19 PM
  5. Importing Data From Excel
    By king_bowzow in forum Import/Export Data
    Replies: 1
    Last Post: 09-11-2009, 02:26 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