Results 1 to 2 of 2

VBA to import specific Excel worksheet in a workbook into access table

  1. #1
    bdaniel is offline Advanced Beginner
    Windows XP Access 2007
    Join Date
    Dec 2009

    VBA to import specific Excel worksheet in a workbook into access table

    Using the TransferSpreadsheet macro command to import data from an excel worksheet, but target table is being appended, I want it to replace. Can that be done with this command?
    Last edited by bdaniel; 11-21-2010 at 08:49 PM. Reason: Correction

  2. #2
    maximus's Avatar
    maximus is offline Expert
    Windows 7 Access 2010 (version 14.0)
    Join Date
    Aug 2009
    Here is a thread that might help you follow the link:
    Note: Please change the names of the tables, queries, form, controls in the example with the ones in your database

    How to Mark a thread solved:

    for Solutions to your database problems and at affordable rates /

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

Similar Threads

  1. Import Specific Cells from Excel to Access
    By Evocube in forum Import/Export Data
    Replies: 2
    Last Post: 01-12-2012, 09:35 AM
  2. Exporting Queries to Excel Sheets, 1 Student per Workbook
    By StudentTeacher in forum Programming
    Replies: 8
    Last Post: 09-02-2010, 11:48 AM
  3. Deleting Worksheets on a Excel workbook
    By BED in forum Programming
    Replies: 0
    Last Post: 07-27-2010, 01:20 PM
  4. Importing the second excel worksheet
    By geoffwbailey in forum Programming
    Replies: 1
    Last Post: 06-25-2010, 12:16 AM
  5. Replies: 2
    Last Post: 07-15-2009, 04:08 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
Tech Forums: Microsoft Office Forums