+ Reply to Thread
Results 1 to 3 of 3

Embedded queries - changing the connection filepath when a database is moved

Hybrid View

Paul_mcc Embedded queries - changing... 09-06-2012, 09:45 AM
Leizure Re: Embedded queries -... 09-06-2012, 05:36 PM
Paul_mcc Re: Embedded queries -... 09-06-2012, 09:12 PM
  1. #1
    Registered User
    Join Date
    08-23-2012
    Location
    Perth Australia
    MS-Off Ver
    Excel 2010
    Posts
    3

    Embedded queries - changing the connection filepath when a database is moved

    Hi everyone,

    I have a spreadsheet with a number of embedded queries from Access.

    The database that generates the queries may be moved and/or have its name changed.

    Without having to manually delete and re-load each embedded query, is there VBA code that will tell Excel to reference the new database filepath?

    Many thanks,
    Paul

  2. #2
    Registered User
    Join Date
    02-29-2012
    Location
    Gloucester, England
    MS-Off Ver
    Excel, Word, Access 2007 and XP
    Posts
    58

    Re: Embedded queries - changing the connection filepath when a database is moved

    Hi Paul,

    you'd be better off posting this question in the Excel Forum section.
    Dave

    I'm no expert I just like solving problems

  3. #3
    Registered User
    Join Date
    08-23-2012
    Location
    Perth Australia
    MS-Off Ver
    Excel 2010
    Posts
    3

    Re: Embedded queries - changing the connection filepath when a database is moved

    thanks mate - just reposted it as you suggested.

+ 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