I have rewritten a db and added user level security with an mdw file. The old database was used as a datsource for an xls file with several pivot tables. I have created a query in the new db to match the datasource from the old db. I have found where to change the datasource in xls, but I don't know how to get xls to use the correct mdw file to link to the db. Any suggestions would be appreciated.