ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   edit data connection properties (https://www.excelbanter.com/excel-worksheet-functions/216058-edit-data-connection-properties.html)

karenj900

edit data connection properties
 
I use Excel to connect to a datasource for a program that used to use mapped
drives and a different method to validate user and password. In the new
version, only unc paths are used to the data and the user name and password
are now using .net 2.0 components to validate. My existing worksheets will no
longer refresh though I can create new connections to the data. Is there any
way to update the connections in the worksheet without having to rebuild the
entire thing?

kj

joel

edit data connection properties
 
What I did last month for somebody was to write a macro which retrieved the
SQL statements from the query. Then the person used the SQL editor and
pasted the retrieved SQL statments into a new Query. You can't just can't
change the Connection.

"karenj900" wrote:

I use Excel to connect to a datasource for a program that used to use mapped
drives and a different method to validate user and password. In the new
version, only unc paths are used to the data and the user name and password
are now using .net 2.0 components to validate. My existing worksheets will no
longer refresh though I can create new connections to the data. Is there any
way to update the connections in the worksheet without having to rebuild the
entire thing?

kj



All times are GMT +1. The time now is 02:09 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com