Link to home
Start Free TrialLog in
Avatar of jbotts
jbotts

asked on

MS Access 2007 Elimination of The Ribbon at runtime

I am attempting to hide The Ribbon of MS Access 2007 at run-time. In the memo field of USysRibbons table field RibbonXml I use the following:

<customUIxmlns="http://schemas.microsoft.com/2006/01/custiomui"><ribbonstartFromScratch="True">

I get an error at run-time in "Line 1, Column 15 - illegal character" . I cannot seem to find an error in the above string. Any other suggestions for hiding The Ribbon at run-time would be appreciated.
ASKER CERTIFIED SOLUTION
Avatar of Jim Dettman (EE MVE)
Jim Dettman (EE MVE)
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial

True > true ... lower case ... and it's case sensitive.

<customUIxmlns="http://schemas.microsoft.com/2006/01/custiomui"><ribbonstartFromScratch="true">

try this


<customUIxmlns="http://schemas.microsoft.com/2006/01/customui"><ribbon startFromScratch="True">



here is the error
----------------------------------------------------------------v---------------v---
<customUIxmlns="http://schemas.microsoft.com/2006/01/custiomui"><ribbonstartFromScratch="True">
BTW, looks like you dropped the word "Office" from your string.  Should be:

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

Jim.


try this


<customUIxmlns="http://schemas.microsoft.com/office/2006/01/customui"><ribbon startFromScratch="True">
sorry typo

try this


<customUI xmlns="http://schemas.microsoft.com/office/2006/01/customui"><ribbon startFromScratch="True">
Straight from the USysRibbons table:

<customUI xmlns="http://schemas.microsoft.com/office/2006/01/customui">
 <ribbon startFromScratch="true">
Avatar of jbotts
jbotts

ASKER

The code that worked:
<customUI xmlns="http://schemas.microsoft.com/office/2006/01/customui">
      <ribbon startFromScratch="true">
      </ribbon>
</customUI>
Had to have the closing of the root element as well as the ribbon element.
The recommended link was right on.
Thanks so much