Access 功能區(Ribbon) 該如何隱藏?

Access 2007 之前的版本,提供自訂工具列、功能表列的功能。但這些功能在 2007之後,因為使用新的使用者介面(功能區索引標籤)、功能區群組與指令,而被取代。

在 Access 2007 之後的功能區,又該如何被隱藏?

By default, Microsoft Office Access 2007 does not provide a method for hiding the Ribbon. This topic describes how to load a customized ribbon that hides all of the built-in tabs.

To load the customized ribbon when Access starts, you should store its settings in a table named USysRibbons.

The USysRibbons table must be created using specific column names in order for the Ribbon customizations to be implemented. The following table describes the settings to use when creating the USysRibbons table.

Column Name Data Type Description
RibbonName Text Contains the name of the custom ribbon to be associated with this customization.
RibbonXML Memo Contains the Ribbon Extensibility XML (RibbonX) that defines the Ribbon customization.

 

The following table describes the Ribbon customization settings to store in the USysRibbons table.

Column Name Value
RibbonName HideTheRibbon
RibbonXML <customUI xmlns=http://schemas.microsoft.com/office/2006/01/customui>
  <ribbon startFromScratch="true"/>
</customUI>


Applying the Customized Ribbon When Access Starts

To implement a custom UI so that it is available when the application starts, do the following:

  1. Follow the process described previously to make the customized ribbon available to the application.
  2. Close and then restart the application.
  3. Click the Microsoft Office Button Button image and then click Access Options.
  4. Click the Current Database option and then, in the Ribbon and Toolbar Options section, click the Ribbon Name list and select HideTheRibbon.
  5. Close and restart the application.

沒有留言: