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

In VBA code I delete an existing worksheet.
while doing this a warning comes and questions if you wish to delete this
worksheet.

How can I make that this mesage does not appear?
thx.
--
kokki
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,302
Default VBA block warning

Hi Kokki,

Try:

Application.DisplayAlerts = False

'your code to delete the sheet

Application.DisplayAlerts = True


---
Regards,
Norman


"kokki" wrote in message
...
In VBA code I delete an existing worksheet.
while doing this a warning comes and questions if you wish to delete this
worksheet.

How can I make that this mesage does not appear?
thx.
--
kokki



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default VBA block warning

Hey Norman, thx it works.
--
kokki


"Norman Jones" wrote:

Hi Kokki,

Try:

Application.DisplayAlerts = False

'your code to delete the sheet

Application.DisplayAlerts = True


---
Regards,
Norman


"kokki" wrote in message
...
In VBA code I delete an existing worksheet.
while doing this a warning comes and questions if you wish to delete this
worksheet.

How can I make that this mesage does not appear?
thx.
--
kokki




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
Object or with block not set sidw0501 Excel Worksheet Functions 0 November 24th 08 07:27 PM
End if without Block If Carrie_Loos via OfficeKB.com Excel Worksheet Functions 7 May 14th 08 06:47 PM
mental block Lost in excel Excel Worksheet Functions 3 January 14th 07 08:18 PM
Mental block Jack Sheet New Users to Excel 3 March 22nd 06 08:31 PM
Block If DA@PD[_2_] Excel Programming 16 December 17th 05 01:57 AM


All times are GMT +1. The time now is 12:06 AM.

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"