Function SetMyOptions()If Not (CommandBars("Ribbon").Controls(1).Height < 100) Then
'minimize Ribbon
CommandBars.ExecuteMso "MinimizeRibbon"
End If
End FunctionRun this function in an AutoExec macro.
How do I run a macro or code when the database starts?
No comments:
Post a Comment