ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Closing Excel error message from Access 2K (https://www.excelbanter.com/excel-programming/273903-closing-excel-error-message-access-2k.html)

Dave[_23_]

Closing Excel error message from Access 2K
 
I have a timed event,in Access that opens an excel sheet. Sometimes the
opening of the excel sheet fails and an Excel message box appears saying
"unable to read file". This then stops further code running in my Access
database.
What I want to be able to do is to close down the excel message, from
Access so further code can run.

Can anyone help me?

Thanks in advance
Dave BT Wholesale UK



Bill Li

Closing Excel error message from Access 2K
 
Hello Dave,

Via On Error function, you can bypass the message box.

Best Regards

Bill
-----Original Message-----
I have a timed event,in Access that opens an excel

sheet. Sometimes the
opening of the excel sheet fails and an Excel message box

appears saying
"unable to read file". This then stops further code

running in my Access
database.
What I want to be able to do is to close down the

excel message, from
Access so further code can run.

Can anyone help me?

Thanks in advance
Dave BT Wholesale UK


.



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

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