Thread
:
custom event
View Single Post
#
2
Posted to microsoft.public.excel.misc
Don Guillett
Posts: n/a
custom event
try this. true will automatically come back after the macro.
Sub delsheet()
Application.DisplayAlerts = False
ActiveSheet.Delete
End Sub
--
Don Guillett
SalesAid Software
"andriil" wrote in message
...
Is there any possibility to create a custom event in VBA (excel)?
I'm trying to block a prompt that is shown when I delete a sheet with data
on it. There's no such option in "Options". I could do it via macro, but
there seems to be no "Worksheet_Delete" event or something. May be there
is
some possibility to create a custom event?
Thanks in advance for your help!
Reply With Quote