ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   How to disable dialogue box (https://www.excelbanter.com/excel-programming/368390-how-disable-dialogue-box.html)

kapil

How to disable dialogue box
 
Hi,
I am creating a text file through Macro.
on closing that file I alwyas get a dialogue box.
how to avoid that dialogue box.

Bob Phillips

How to disable dialogue box
 
Precede with

Application.DisplayAlerts = False

and reset at the end

--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)

"Kapil" wrote in message
...
Hi,
I am creating a text file through Macro.
on closing that file I alwyas get a dialogue box.
how to avoid that dialogue box.





All times are GMT +1. The time now is 11:55 AM.

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