Access 2007 Ribbons - Error trying to hide TabHome

A

Alibaba

Hello,

I am trying to create a custom ribbon for Access 2007 Project.

<customUI xmlns="http://schemas.microsoft.com/office/2006/01/customui">

<ribbon startFromScratch="false">

<tabs>

.... etc ..



I get this Error:



Error found in Custom UI XML [ACCESS ADP PROJECT PATH]

LINE: IRRELEVANT

COLUMN: IRRELEVANT

ERROR CODE: 0X80004005

FAILED TO FIND OFFICE CONTROL BY ID

ID: TabHome



When i remove the line: <tab idMso="TabHome" visible="false" />

The error disappears.



I have seen mutliple examples for customizing ribbons that use the TabHome.

The id may have changed accidently!!



Is there is any other way to access the tab info via vba? like an index
number?

or is there is a way to see it's name or ID? maybe have it display it's own
id via vba?



thanks





<tab idMso="TabExternalData" visible="false" />

<tab idMso="TabCreate" visible="false" />

<tab idMso="TabDatabaseTools" visible="false" />

<tab idMso="TabHome" visible="false" />



<tab id="dbMyCustomTab" label="New Custom Tab" visible="true">
 

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