View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Michel Pierron Michel Pierron is offline
external usenet poster
 
Posts: 214
Default Disabling Close, minimize, and restore

Hi kristing,

Private Sub Workbook_Open()
Application.ThisWorkbook.Protect Windows:=True
End Sub

Regards,
MP

"kristing " a écrit dans le
message de ...
Is there a way to disable close, minimize and restore in an excel
workbook by using VBA?


---
Message posted from http://www.ExcelForum.com/