Results 1 to 3 of 3
  1. #1
    knarlyd is offline Novice
    Windows 7 32bit Access 2010 32bit
    Join Date
    Sep 2013
    Posts
    3

    Importing Excel spreadsheet

    I have a spreadsheet that I'd like to import into Access 2010 however prior to the import, I'd like to delete some of the rows in the spreadsheet.
    The spreadsheet only has one workbook.
    It will likely always be rows 1-10.

    I have already set up the Excel 14.0 Object reference, if that's even necessary

    How can I accomplish this using either VB or query?

    Thanks!

  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,929
    Is the spreadsheet simple enough to link to?

    Review https://www.accessforums.net/forms/a...cel-48862.html
    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.

  3. #3
    knarlyd is offline Novice
    Windows 7 32bit Access 2010 32bit
    Join Date
    Sep 2013
    Posts
    3
    Quote Originally Posted by June7 View Post
    Is the spreadsheet simple enough to link to?

    Review https://www.accessforums.net/forms/a...cel-48862.html
    It might be, I'll have to examine in greater detail if that will suffice. With that said, I think I found a work around with a SQL query which at least doesn't throw an error when pulling the data. Then I can easily use access to dump those records.

    The docmd.transferspreadsheet was throwing an error with importing the data.
    If the SQL proves not be correct, I'll see if I understand what's going on with that link.

    Thanks for the reply!

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

Similar Threads

  1. Importing Excel spreadsheet and appending it to an existing table
    By Access_Novice in forum Database Design
    Replies: 3
    Last Post: 08-21-2014, 07:01 AM
  2. Importing Excel Spreadsheet
    By JayX in forum Access
    Replies: 2
    Last Post: 12-13-2011, 08:27 AM
  3. Importing Excel 2007 spreadsheet into Access 2002
    By jhjr in forum Import/Export Data
    Replies: 1
    Last Post: 06-17-2010, 02:05 PM
  4. importing excel spreadsheet issues
    By majortool in forum Import/Export Data
    Replies: 1
    Last Post: 01-24-2008, 06:29 PM
  5. Type error when importing Excel spreadsheet
    By jlmnjem in forum Database Design
    Replies: 2
    Last Post: 08-27-2006, 07:26 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