Results 1 to 2 of 2
  1. #1
    magster01 is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Aug 2011
    Posts
    1

    Download Excel sheets into contacts

    I am new to the 2010 version and I am working on downloading contact sheets from excel into access. The download is complete and I see all the sheets and can filter, but my contacts page is still empty. How do I get the contacts from the different sheets into my contact list?
    Thanks for the help.

  2. #2
    rpeare is offline VIP
    Windows XP Access 2003
    Join Date
    Jul 2011
    Posts
    5,442
    How did you import your data, did you use the transferspreadsheet method? If so you have you use the very last variable of the transferspreadsheet to indicate which worksheet you want to import, otherwise it always defaults to the first worksheet. Note you also have to follow the worksheet name with a $ to indicate you're importing an entire worksheet and not a range of cells.

    docmd.TransferSpreadsheet acImport,spreadsheettype,DestinationTable,Originat ionFile,HasFieldNames,Worksheetname$

    The bold part is where you have to put in your contacts worksheet name, and of course substitute all your object names where applicable.

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

Similar Threads

  1. Exporting Queries to Excel Sheets, 1 Student per Workbook
    By StudentTeacher in forum Programming
    Replies: 8
    Last Post: 09-02-2010, 11:48 AM
  2. Export to excel different sheets
    By apsf68 in forum Access
    Replies: 2
    Last Post: 07-27-2010, 07:05 AM
  3. How many sheets of paper do I need?
    By carstenhdk in forum Reports
    Replies: 1
    Last Post: 05-10-2010, 06:36 AM
  4. Import excel sheets to access.
    By calexandru in forum Import/Export Data
    Replies: 0
    Last Post: 08-19-2009, 09:44 AM
  5. Replies: 0
    Last Post: 04-29-2009, 04:27 PM

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