Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default supressing system warning messages


I am certain that this question has been asked and answered, so if you
can point me to the messase I will take it from there. I create a new
workbook from a button on a template, and it works great. The button
sits on a seperate worksheet, a worksheet that I delete from the
created file. When I delete, excel spits out a warning message that I
want to turn off, delete the worksheet, and turn the warning messages
back on. I know it is in one of the 3 or 4 books I have on exce, but I
can't find it because I don't know how they index it.

And by the way, my project has moved light years ahead because of
this forum. So to one and all THANKYOU, THANKYOU, THANKYOU

Paul


--
ppete83606
------------------------------------------------------------------------
ppete83606's Profile: http://www.excelforum.com/member.php...o&userid=26953
View this thread: http://www.excelforum.com/showthread...hreadid=467741

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default supressing system warning messages


Hello ppete83606!
To turn warning messages on/off, you can simply set
Application.DisplayAlerts to True/False. :)

ppete83606 Wrote:
I am certain that this question has been asked and answered, so if you
can point me to the messase I will take it from there. I create a new
workbook from a button on a template, and it works great. The button
sits on a seperate worksheet, a worksheet that I delete from the
created file. When I delete, excel spits out a warning message that I
want to turn off, delete the worksheet, and turn the warning messages
back on. I know it is in one of the 3 or 4 books I have on exce, but I
can't find it because I don't know how they index it.

And by the way, my project has moved light years ahead because of
this forum. So to one and all THANKYOU, THANKYOU, THANKYOU

Paul



--
T-Žex
------------------------------------------------------------------------
T-Žex's Profile: http://www.excelforum.com/member.php...o&userid=26572
View this thread: http://www.excelforum.com/showthread...hreadid=467741

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 364
Default supressing system warning messages

try this

Application.DisplayAlerts = False

--


Gary


"ppete83606" wrote
in message ...

I am certain that this question has been asked and answered, so if you
can point me to the messase I will take it from there. I create a new
workbook from a button on a template, and it works great. The button
sits on a seperate worksheet, a worksheet that I delete from the
created file. When I delete, excel spits out a warning message that I
want to turn off, delete the worksheet, and turn the warning messages
back on. I know it is in one of the 3 or 4 books I have on exce, but I
can't find it because I don't know how they index it.

And by the way, my project has moved light years ahead because of
this forum. So to one and all THANKYOU, THANKYOU, THANKYOU

Paul


--
ppete83606
------------------------------------------------------------------------
ppete83606's Profile:
http://www.excelforum.com/member.php...o&userid=26953
View this thread: http://www.excelforum.com/showthread...hreadid=467741



  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 55
Default supressing system warning messages

Hi Paul

Application.DisplayAlerts = False

Remember to set it back to True again at the end of your macro and to be
safe also as part of your errorhandling.

Regards
Rowan

ppete83606 wrote:
I am certain that this question has been asked and answered, so if you
can point me to the messase I will take it from there. I create a new
workbook from a button on a template, and it works great. The button
sits on a seperate worksheet, a worksheet that I delete from the
created file. When I delete, excel spits out a warning message that I
want to turn off, delete the worksheet, and turn the warning messages
back on. I know it is in one of the 3 or 4 books I have on exce, but I
can't find it because I don't know how they index it.

And by the way, my project has moved light years ahead because of
this forum. So to one and all THANKYOU, THANKYOU, THANKYOU

Paul


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
Help please - warning messages adickson Excel Worksheet Functions 1 May 23rd 09 02:05 PM
Help please - warning messages adickson Excel Worksheet Functions 1 May 23rd 09 12:26 PM
Warning Messages fabio Excel Worksheet Functions 3 October 15th 08 10:54 AM
System Messages Simon Pope Excel Discussion (Misc queries) 0 May 17th 07 03:00 PM
Getting rid of warning messages Joel Wiseheart Excel Programming 2 November 11th 03 08:32 PM


All times are GMT +1. The time now is 07:17 PM.

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

About Us

"It's about Microsoft Excel"