View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Bon Bon is offline
external usenet poster
 
Posts: 23
Default Any vba code to disable only close button in Excel workbook, please?

Dear all

Could anyone give me some sample code on disabling the close button in
Excel workbook?

I tried the Tool - Protect - Check Windows method. But, it will
disable the maximize and
minimize buttons as well. Moreover, it will minimize the workbook.

Please give me some advices. thanks


Cheers
Bon