Access 2007 OfficeMenu Customization

K

kieronbrady

Hi,

Ive currently got an access 2003 application and am prototyping a new
version in Access 2007 and currently im looking into moving a lot of
our navigation items into the ribbon. Ive coded the ribbon up in XML
and it all works fine and the last thing I want to do is customize the
office menu button to display 3 customized buttons and an exit button.

So my code is something similar to this at the moment :

<customUI xmlns="http://schemas.microsoft.com/office/2006/01/customui"
onLoad="OnRibbonLoad">
<ribbon startFromScratch="true">
<officeMenu>
<button idMso="FileNewDatabase" visible="false"/>
<button idMso="FileOpenDatabase" visible="false"/>
<button idMso="FileCloseDatabase" visible="false"/>
<button id="btnAbout" label="About App" imageMso="Info"/>
</officeMenu>
.....ribbon customization here...

This removes everything from the Office Menu and leaves me with one
"About App" button, the "Exit Access" button and the "Recent
Documents" pane.. thing is I cant seem to remove the recent documents
pane.. i can clear the pane down so it shows no items by setting the
count to 0 and removing registry settings, but what I want is to not
see it at all, forcibly remove it from the office menu... i dont
believe you can do it with code but I cant seem to find any
application settings to remove it, is this actually possible??

Many thanks in advance.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top