View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
cyclingsal cyclingsal is offline
external usenet poster
 
Posts: 9
Default preventing closure of active excel window

Hi,

I wish to prevent users from closing the active excel window with the
window close button (x). I would like them to use a macro-linked
button for that. Is there a way to code this into VBA such that the
(x)-button is disabled?

Thanks
Sal