Results 1 to 2 of 2

Import excel files

  1. #1
    Jim.H. is offline Novice
    Windows 7 64bit Access 2010 32bit
    Join Date
    Jan 2012
    Posts
    16

    Import excel files

    Import excel files
    I would like to check if an excel file showed up in a specific folder and process it into a table in access. How can I do this, is there a sample code I can use?

  2. #2
    pbaldy's Avatar
    pbaldy is online now Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    12,321
    This type of thing, where strPath is the full path to the file (you can hard-code it as well):

    If Len(Dir(strPath)) > 0 Then
    Paul (wino moderator)
    MS Access MVP
    www.BaldyWeb.com

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

Similar Threads

  1. Replies: 9
    Last Post: 10-31-2013, 05:51 AM
  2. import excel files into access automatically
    By jstei012 in forum Import/Export Data
    Replies: 1
    Last Post: 12-19-2011, 02:12 PM
  3. Import Excel files on SharePoint 2010
    By jgelpi16 in forum Import/Export Data
    Replies: 1
    Last Post: 10-31-2011, 12:32 PM
  4. Replies: 3
    Last Post: 10-06-2011, 05:53 AM
  5. Cannot import excel or text files
    By donald_s in forum Access
    Replies: 2
    Last Post: 04-13-2010, 10:48 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
  •  
Tech Forums: Microsoft Office Forums