You have to learn to use the GetVisible attribute. I believe that the "Ribbon Creator 2010" have some help teaching about the GetVisible.
Download RibbonGetVisible.zip example to study.
See also this article...
Can't find a way to hide the HomeTab. Yes, but his menu will be stuck in Add_ins guide.
If I recrate all my menus from scratch and move to Ribbons, is there a way to hide part of the menu, based on the user opened the App ? ie, Can I hide part of it after loading ? Yes, you...
To have the Menu outside the Add-ins guide, you will have to keep the file in the format 2000-2003 (MDB). Here is an example of the MDB file (2003) and see the menu outside the Add-ins guide.
Note: in 2013 and 2016 will be trapped in add-in guide.
Use both indicated site to learn how to...
In the Access Options> Current Database> uncheck:
- Allow full menus
- Allow internal toolbar
See this article. This in Portuguese, use google translator.
Note: This method does not...
follows the example file
- Note the use of INVALIDATE through the event "after update" group options.
- Note the fncGetVisible () function changing the grp3 group
Public Sub fncGetVisible(control As IRibbonControl, ByRef visible)
On Error GoTo fError
Select Case control.Id
What is your version of Access? I'll give you an example, which will control the Group Department of your Ribbon, using the getVisible attribute.
<group id="grp3" label="Departments" getVisible="fncGetVisible" >
Use the command docmd.ShowToolbar "ribbon", acToolbaryes In the "opening" event of her report and the docmd.ShowToolbar "ribbon", acToolbarNo command, In the event closing.
Learn to customize ribons this two sites:
In the article below has an image for viewing a macro mounted in Access 2010. Download the sample file, and study the macro used.