+ Reply to Thread
Results 1 to 4 of 4

Importing Multiple Excel Files Into Access

  1. #1
    Registered User
    Join Date
    03-04-2010
    Location
    South Florida
    MS-Off Ver
    Excel 2007
    Posts
    72

    Importing Multiple Excel Files Into Access

    Hello,

    I'm trying to import multiple Excel files into Access, but am getting:

    Run-time error '3051':

    The Microsoft Access database engine cannot open or write to
    the file 'C:\Documents and Settings\H\Desktop\03-08-10'. It is
    already opened exclusively by another user, or you need permission
    to view and write its data


    Any suggestions?

    Thank you.

  2. #2
    Registered User
    Join Date
    03-04-2010
    Location
    South Florida
    MS-Off Ver
    Excel 2007
    Posts
    72

    Re: Importing Multiple Excel Files Into Access

    THIS IS MY CODE


    Please Login or Register  to view this content.
    Last edited by Cutter; 09-21-2012 at 08:56 AM. Reason: Added code tags

  3. #3
    Registered User
    Join Date
    09-07-2011
    Location
    vizag
    MS-Off Ver
    Excel 2007
    Posts
    46

    Re: Importing Multiple Excel Files Into Access

    I have tried this one but not executing, can you tell me, In this formula what is the meaning of "DoCmd.TransferSpreadsheet acImport, 8, "03-08-10", mypath & myfile". why you mentioned 8 in this sentence. please clarify me...

  4. #4
    Forum Guru
    Join Date
    03-02-2006
    Location
    Los Angeles, Ca
    MS-Off Ver
    WinXP/MSO2007;Win10/MSO2016
    Posts
    12,594

    Re: Importing Multiple Excel Files Into Access

    bsaimsc,
    Welcome to the Forum, unfortunately:

    Your post does not comply with Rule 2 of our Forum RULES. Don't post a question in the thread of another member -- start your own thread. If you feel it's particularly relevant, provide a link to the other thread. It makes sense to have a new thread for your question because a thread with numerous replies can be off putting & difficult to pick out relevant replies.
    Ben Van Johnson

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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