Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Warning prompts disabling


Some processess, such as Delete a sheet, prompt a warning message an
wait for user confirmation.
This affects the operation of a macro, especially a autorun macro.
Is there some means of eliminating these warnings, either with VB cod
or thru Excel settings ?

-Pundlik
email :

-----------------------------------------------
~~ Message posted from
http://www.ExcelTip.com
~~View and post usenet messages directly from http://www.ExcelForum.com

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4
Default Warning prompts disabling

Application.DisplayAlerts = False

but remember to include Application.DisplayAlerts = True
before the end of your code.


-----Original Message-----

Some processess, such as Delete a sheet, prompt a

warning message and
wait for user confirmation.
This affects the operation of a macro, especially a

autorun macro.
Is there some means of eliminating these warnings,

either with VB code
or thru Excel settings ?

-Pundlik
email :


------------------------------------------------
~~ Message posted from
http://www.ExcelTip.com/
~~View and post usenet messages directly from

http://www.ExcelForum.com/

.

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,173
Default Warning prompts disabling

Pundlik

Add to the start of your code

Application.DisplayAlerts=False

Set it back to 'True' at the end. Excel will run the default 'answer' for
each alert created

--
HTH
Nick Hodge
Microsoft MVP - Excel
Southampton, England
HIS



pundlik wrote:
Some processess, such as Delete a sheet, prompt a warning message and
wait for user confirmation.
This affects the operation of a macro, especially a autorun macro.
Is there some means of eliminating these warnings, either with VB code
or thru Excel settings ?

-Pundlik
email :



------------------------------------------------
~~ Message posted from
http://www.ExcelTip.com/
~~View and post usenet messages directly from
http://www.ExcelForum.com/



  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 104
Default Warning prompts disabling

Nick

how did you get that e-mail address "zen.co.uk" - is it a business one?

Jason

"Nick Hodge" wrote in message ...
Pundlik

Add to the start of your code

Application.DisplayAlerts=False

Set it back to 'True' at the end. Excel will run the default 'answer' for
each alert created

--
HTH
Nick Hodge
Microsoft MVP - Excel
Southampton, England
HIS



pundlik wrote:
Some processess, such as Delete a sheet, prompt a warning message and
wait for user confirmation.
This affects the operation of a macro, especially a autorun macro.
Is there some means of eliminating these warnings, either with VB code
or thru Excel settings ?

-Pundlik
email :



------------------------------------------------
~~ Message posted from
http://www.ExcelTip.com/
~~View and post usenet messages directly from
http://www.ExcelForum.com/

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Formula Prompts Rob L Excel Discussion (Misc queries) 2 July 13th 08 09:19 AM
Disabling Macro Warning scojerroc Excel Discussion (Misc queries) 9 December 19th 07 07:08 PM
Excel hyperlinks - disabling warning messages Larry Links and Linking in Excel 1 July 29th 07 02:22 AM
Saving Prompts Colin Hayes Excel Worksheet Functions 2 March 14th 07 03:02 PM
Prompts sdmccabe Excel Discussion (Misc queries) 1 April 13th 06 06:03 PM


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

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"