ChrisYbelt
New Member
- Joined
- Jan 6, 2011
- Messages
- 3
I have an Excel 2007 macro-enabled template to open all workbooks in a given directory, copy all the sheets back into the template file, then perform some analysis. The issue I'm coming across is that when the code cycles through all the workbooks in my directory, on occasion it will come across a workbook that has links to other files. This causes an alert to pop up saying "This workbook contains one or more links that cannot be updated...." I was able to disable this prompt when the file is opened by adding Application.AskToUpdateLinks = False and Application.DisplayAlerts = False
However, when the worksheet is copied from the source file back into my template file, I get an explorer browser window asking for the path of the file to update the links. Is there was way to disable this too?
However, when the worksheet is copied from the source file back into my template file, I get an explorer browser window asking for the path of the file to update the links. Is there was way to disable this too?