Results 1 to 3 of 3
  1. #1
    asmores is offline Novice
    Windows 2K Access 2003
    Join Date
    Mar 2013
    Posts
    20

    Importing specific rows and columns

    I am currently building a database for a team to append general item information in excel to a master file in access. Typically i would like to build this in a form page within the database but there seems to be an overwhelming fear of access in my workplace. I have an Import Mod the seems to do the trick in some of my older databases but currently it pulls the entire sheet. For this database i would like to pull only A5:G65000. This will allow me to add direction cells above and notes to the right for my novice users. Does anyone have any ideas, suggestions, or code that can help me with this?



    Thank you,

  2. #2
    JoeM is offline VIP
    Windows XP Access 2007
    Join Date
    Jun 2012
    Posts
    3,904
    Yes, instead of importing by Sheet name, you can import by named ranges. So in Excel, highlight and name your range A5:G65000, and then use that in your Import routine.

  3. #3
    rpeare is offline VIP
    Windows XP Access 2003
    Join Date
    Jul 2011
    Posts
    5,442
    The docmd.transferspreadsheet function allows you to import ranges of cells as well if you are looking to do it via VBA.

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

Similar Threads

  1. Rows to columns
    By zaffar_mughal in forum Access
    Replies: 1
    Last Post: 12-03-2012, 01:18 PM
  2. Replies: 1
    Last Post: 06-15-2012, 05:51 PM
  3. Replies: 2
    Last Post: 05-17-2012, 03:52 PM
  4. Rows into Columns
    By chrisdavis in forum Programming
    Replies: 16
    Last Post: 12-22-2011, 01:58 PM
  5. Export Query to Specific Sheet and Rows/Columns
    By chewbears in forum Queries
    Replies: 7
    Last Post: 11-30-2011, 09:44 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