How do you disable “Save and send” in Excel 2010 (in the File ribbon (called backstage in Office 2010)?

前端 未结 3 2003
别那么骄傲
别那么骄傲 2020-12-21 18:06

I have the following VBA marco running in Excel 2003, it blocks the Save, Save as, Save Workspace, Send To menus but I now need to do the same but for Excel 2010 ?

3条回答
  •  囚心锁ツ
    2020-12-21 18:20

    I have tried commands listed below and these are disabling the save and send menu in Excel 2010:

    Application.CommandBars("Worksheet Menu Bar").Controls("File").Controls("Send To").Enabled = False
    Application.CommandBars("Worksheet Menu Bar").Controls("File").Controls("Save & Send").Enabled = False
    

提交回复
热议问题