ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   VBA Workbooks.Open - Suppress File Currupt Message (https://www.excelbanter.com/excel-programming/418670-vba-workbooks-open-suppress-file-currupt-message.html)

[email protected]

VBA Workbooks.Open - Suppress File Currupt Message
 
Hi,

Application.displauAlerts = false
and
On error resume next

These don't stop a vba procedure that it's opening a workbook that is
corrupted.

Is there any way to suppress (or detect) all dialogs, alerts etc
whilst a procedure is running?

Thanks

Mac


All times are GMT +1. The time now is 08:53 AM.

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