I have previously used the MSScriptControl COM object and have switched to ClearScript. The problem I am seeing, currently, is that whatever implementation ClearScript uses doesn't honor the On Error Resume Next and simply crashes out, throwing an error.
Is there a way to have ClearScript honor this error handling or something I can do to prevent it from crashing?
Comments: I am adding a global script object that contains a property reference to Excel: Public Property ExcelApplication() As Microsoft.Office.Interop.Excel.Application Get Return _excelApplication End Get Friend Set(value As Microsoft.Office.Interop.Excel.Application) _excelApplication = value End Set End Property
Is there a way to have ClearScript honor this error handling or something I can do to prevent it from crashing?
Comments: I am adding a global script object that contains a property reference to Excel: Public Property ExcelApplication() As Microsoft.Office.Interop.Excel.Application Get Return _excelApplication End Get Friend Set(value As Microsoft.Office.Interop.Excel.Application) _excelApplication = value End Set End Property