Hi
I'm connecting to a .cub file from an Excel 2010 workbook. There are a number of sheets containing pivot tables and slicers are also being used. I get the error message "the process cannot access the file because it is being used by another process" and the invitation to re-connect to the .cub file which I understand is produced when the 5 connections limit is reached on the one process allowed on the file. I can get round the problem by making multiple copies of the cub file and connecting each sheet to a different file but this is cluncky and I only want to issue a single cub file with the application. The Excel application is being controlled by VBA. Is there a way of dropping the lock on the cub file once a particular sheet is finished with and re-connecting so as to populate the pivot tables in the next sheet?
many thanks for your help
Andrew C Taylor