View Single Post
 
Old 11-01-2016, 06:23 AM
anderjoa anderjoa is offline Windows 7 64bit Office 2016
Novice
 
Join Date: Oct 2016
Posts: 6
anderjoa is on a distinguished road
Post 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?
Reply With Quote