阅读背景:

在VBA中设置ODBC连接字符串

来源:互联网 

I have created a macro that sends a new CommandText to an ODBC Connection in my Excel spreadsheet and then refreshes the table of results associated with the query. This has been working fine, but I've noticed that each time I run the macro it overwrites the connection string with some default values that work on my machine but will not work on other users' machines because they do not have the saved connection file that I have. The more specific connection string that specifies a server address works when entered manually, but will get overwritten anytime the macro is run.I have created a macro that sends a new Command




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: