Closed Thread
Results 1 to 2 of 2

Import excel 2010 format worksheet into database

  1. #1
    Registered User
    Join Date
    06-14-2013
    Location
    Flagstaff,AZ USA
    MS-Off Ver
    Excel 2010
    Posts
    20

    Import excel 2010 format worksheet into database

    Hi,

    I am trying to import a spreadsheet into my access database using the transferspreadsheet method. I am having a real hard time trying to understand the spreadsheet type i am importing. The worksheet is saved from excel as 'xlOpenXMLWorkbook'. I have tried using the spreadsheet type 'acSpreadsheetTypeExcel12Xml' but after the import my table headers are corrupted.

    heres the excel vba code to save the spreadsheet

    Please Login or Register  to view this content.
    heres the access vba code to import the spreadsheet

    Please Login or Register  to view this content.
    If i manually save the "Master_List" worksheet as an excel workbook the transferspreadsheet command will work correctly, but i am trying automate the process as much as possible.

    Thanks,

    Dubbdan

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,929

    Re: Import excel 2010 format worksheet into database

    Welcome to the Forum, unfortunately:

    This is a duplicate post and as such does not comply with Rule 5 of our forum rules. This thread will now be closed, you may continue in your other thread.

    http://www.excelforum.com/access-tab...-database.html
    Thread Closed.
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

Closed Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Import Multiple text files in different worksheet into Excel 2010
    By rageshprasad in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-06-2014, 07:16 AM
  2. Import excel 2010 format worksheet into database
    By dubbdan in forum Access Tables & Databases
    Replies: 1
    Last Post: 08-22-2013, 03:05 AM
  3. Import a list from SharePoint 2010 into an Excel 2010 worksheet
    By nivoe in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-17-2013, 05:41 AM
  4. excel 2010 vba to save access 2010 database and close it
    By dearnemo385 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 05-17-2012, 11:56 AM
  5. Import data from Excel worksheet to database
    By mriordan25 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-27-2007, 05:04 AM

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