Disabling Close, minimize, and restore

  • Thread starter Thread starter kristing
  • Start date Start date
K

kristing

Is there a way to disable close, minimize and restore in an exce
workbook by using VBA
 
Hi kristing,

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

Regards,
MP
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top