ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Handle an "Excel cannot complete..." alert window withVBA (https://www.excelbanter.com/excel-programming/411431-handle-excel-cannot-complete-alert-window-withvba.html)

Santiago Rivas

Handle an "Excel cannot complete..." alert window withVBA
 
Hi all,

I have written a macro that opens one .xls file and other .htm file that contains excel charts created from the .xls file data.

When the macro says "save and close" the htm-file, I get a message "Excel cannot complete this task with available resources" and stops the macro. Can I write some code to handle this message? (answer ok manually solves the problem, but I want the macro run automatically).

Thank you



All times are GMT +1. The time now is 01:34 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com