[AccessD] Minimize Eibbon

Stuart McLachlan stuart at lexacorp.com.pg
Thu Feb 17 17:30:35 CST 2022


CommandBars.ExecuteMso "MinimizeRibbon"

It's a toggle, not an on/off command so you need to check the current state. A common way 
to do that is something like:
If CommandBars("ribbon").Height > 100 Then
    CommandBars.ExecuteMso "MinimizeRibbon"
End If


Or you could get rid of it completely :)
DoCmd.ShowToolbar "Ribbon", acToolbarNo

(show it again with acToolbarYes)


On 17 Feb 2022 at 8:57, Arthur Fuller wrote:

> I've forgotten how ro minimize the Access ribbon.
> 
> -- 
> Arthur
> -- 
> AccessD mailing list
> AccessD at databaseadvisors.com
> https://databaseadvisors.com/mailman/listinfo/accessd
> Website: http://www.databaseadvisors.com
> 




More information about the AccessD mailing list