View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Bob Phillips Bob Phillips is offline
external usenet poster
 
Posts: 10,593
Default 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.