When you open or use a Microsoft Excel workbook, you may receive this error message:
This error can occur for one of the following reasons:
- You try to use the Send as Attachment option in Excel.
- You try to open an embedded object in Excel.
- The Excel worksheet tries to access data from another application that is still active.
We recommend that you follow the provided methods in this article in order. However, if you had previously tried one of the methods and it did not help, you can jump to another method quickly from this list:
Method 1: Use a different method to attach the Excel workbook
Click here to show information on how you can attach the Excel workbook through another method.
Method 2: Close the application that interacts with Excel
Click here to show information on how you can close the application.
Method 3: Troubleshoot add-ins in Excel
Click here to show information on how to troubleshoot add-ins.
The information provided in this section is for advanced users.
If you created a workbook that is automating another application through VBA, you can add this line of code to turn off the message:
Application.DisplayAlerts = FalseNote
: This line of code needs to be included in the code that is doing the automation prior to calling the line of code that results in the error occurring.
If the information in this knowledge base article did not help resolve your Excel OLE problem, select one of the following options: