We are currently using pivot tables in Excel 2003 to run our reports. These pivot tables use Excel's built-in Import External Data features to report from SQL (for example, SQL Server 2008).
The reports currently point to our UK database, but now we would like to make a copy of each report pointing to our new US database (which has the same layout as the UK database).
Instead of painstakingly going through almost 100 spreadsheets, I was hoping there would be a good COM automation bit that I could use to change the connection strings in each of the spreadsheets.
Does anyone know how to change the connection string of an external data source from COM?
I use .Net (in particular, C #), but I would be grateful for any help, regardless of language or method (this should not be COM).
source share