+ Reply to Thread
Results 1 to 2 of 2

Need to update multiple ODBC connection strings HELP!!!

  1. #1
    Registered User
    Join Date
    10-04-2011
    Location
    New Jersey
    MS-Off Ver
    Excel 2007
    Posts
    4

    Exclamation Need to update multiple ODBC connection strings HELP!!!

    Does anyone have a script that will update multiple worksheet db connections with new connection strings? like a prompt for user input to the new database, file name, etc...? I have been trying to get the following code to work, but have not had any luck.

    Please Login or Register  to view this content.
    Last edited by k9-961; 10-04-2011 at 02:11 PM.

  2. #2
    Registered User
    Join Date
    10-04-2011
    Location
    New Jersey
    MS-Off Ver
    Excel 2007
    Posts
    4

    Re: Need to update multiple ODBC connection strings HELP!!!

    i was able to modify the script to make the connection string updates (I had an extra End Function
    in there...), but now I need to update a static PATH value in the CommandText. Example Below:

    Command text:
    Please Login or Register  to view this content.
    Need to be able to write MACRO to replace the PATH and retain the rest of the CommandText AS IS...
    Last edited by k9-961; 10-04-2011 at 02:12 PM.

+ 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