Hi,
I'm trying to hide tools within a ribbon. I understand from other posts that to achieve this I have to set the Office2007UICompatibility to false.
This works perfectly however as a result of this setting, a menubar is created on screen, as well as my existing ribbon. I have tried to hide this automatically created menu bar without any success as I get an error message saying that it cannot be hidden.
Is there a workaround to this?
Thanks in advance,
Dunk
Here's an image of a dummy screen displaying the issue in case my explanation wasn't very clear.
In this example I'm trying to hide the 9 flag images programatically.
Thanks,
Hello,
I believe that this is a standard toolbar which cannot be displayed when the 'Office2007UICompatibility' is set to 'true', so it exists and is not being created by setting the above property to 'false' but is shown by the result of setting this. So you have to hide it if you want to have the Office2007UI enabled.
Please let me know if I am not clear enough.