I have a "master" excel that loops through a folder of excels, opens them, runs a variety of macros and then saves and closes them. I have always had some excels that crash the application and I finally narrowed it down to excels that have a circular reference in them. I have disabled alerts and so Excel just crashes completely. I have tried several ways to turn off this warning including:
Neither of those seem to work. Any other ideas?
Code:
Private Sub Workbook_Open()
Application.calculation = xlCalculationManual
If errormsg Then
SendKeys "{esc}", True
End If
End Sub
Neither of those seem to work. Any other ideas?