I am having an Autoexec problem I have the following function
Public Function HideRibbon()
DoCmd.ShowToolbar "Ribbon", acToolbarNo
The Autoexec Macro as follows
If I run Autoexec it works fine but wont work when I open the Application.
Am I doing something wrong