We use MS Query to retrieve data from various databases to create management metrics (i.e. within Excel, go to Data...Import External Data...New Database Query). The SQL query and parameters (mostly conn string) are automatically stored by Excel within the spreadsheet.
However, we recently moved one of our databases to a new server. As a result, Excel prompts us for a new ODBC connection when trying to refresh the data, but it will not accept the new values. We can create new queries fine, so the ODBC connection is set up correctly, but we cannot change any queries.
Is there a way to programatically or otherwise change the IP address within these settings? I tried changing the xls file in a hex editor (the IP addresses are visible there), but it then says the workbook is corrupt.