Hiding Save As, Export, Share in the ribbon under File menu
Hi,
In a PowerBuilder-application that uses Word 2007 this works for example:
this.ActiveDocument.CommandBars[il_menubar_id].controls[il_filemenu_id].controls[i].enabled = False
For the save for example il_filemenu_id is 4.
This doesn't seem to work in Office 2016.
For save as, share, export I would like these to be invisible totally.
I reckon this has something to do with the new Ribbons but how do I code them?
|