+ Reply to Thread
Results 1 to 4 of 4

Copying Files for Query purposes

  1. #1
    Registered User
    Join Date
    07-01-2005
    Location
    Ohio, US
    MS-Off Ver
    Office 2003
    Posts
    22

    Copying Files for Query purposes

    I've got a workbook that needs data from multiple tables within a widely used Access file on our network. The authors "helpfully" put the file in a folder path of "X:\Data Tables 3.0\data"

    Because of the dot in 3.0, I can't do a normal Query of the file (KB Article ID: 214377). I'm getting around the limitation by temporarily copying the file to my C: drive and then doing the Query to that location. Thats fine for me, but I want others in my dept. to be use the workbook as well.

    Anyone know how to automate the copy of the Access file from within Excel using VB? What about deletion after I'm done with the copy? Doable?

    Or is there a different way to obtain the data from the Access file directly without running into the error?

    Thanks in advance,
    Kestrel
    ---------
    The difference between Theory and Practice is that, in Theory they are the same. In Practice, they aren't.

  2. #2
    Registered User
    Join Date
    07-01-2005
    Location
    Ohio, US
    MS-Off Ver
    Office 2003
    Posts
    22

    Re: Copying Files for Query purposes

    Given the lack of responses, I'm going to assume the answer is No.
    Not really suprised, as I could see some security issues in manipulating non-excel files via VBA.

    Thanks anyway to those who looked at it.

  3. #3
    Forum Expert snb's Avatar
    Join Date
    05-09-2010
    Location
    VBA
    MS-Off Ver
    Redhat
    Posts
    5,649

    Re: Copying Files for Query purposes

    In VBA

    Please Login or Register  to view this content.
    But maybe you can copy the file into a networkfolder

  4. #4
    Registered User
    Join Date
    07-01-2005
    Location
    Ohio, US
    MS-Off Ver
    Office 2003
    Posts
    22

    Re: Copying Files for Query purposes

    Thanks snb, I'll give it a shot tonight.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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