To hide or show the Access ribbon just create two functions in a module like this, and then you can call these with the RunCode action in any macro, e.g. your AutoExec startup.
Public Function ShowRibbon()
DoCmd.ShowToolbar “Ribbon”, acToolbarYes
End Function
Public Function HideRibbon()
DoCmd.ShowToolbar “Ribbon”, acToolbarNo
End Function