View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
da_gl da_gl is offline
external usenet poster
 
Posts: 1
Default Disabling Button Commands in 2007

Historically you could disable Save, Save As, Exit, etc by using the
following:

Application.CommandBars("Worksheet menu
bar").Controls("File").Controls("Exit").Enabled = False

How to do this in Excel 2007?