添加链接
link管理
链接快照平台
  • 输入网页链接,自动生成快照
  • 标签化管理网页链接
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
The problem is when this application is closed and a different Access database loads, the Ribbon remain Minimized; I need it Maximized.
The following code does not work.
 if RibbonIsMinimised = Application.CommandBars("Ribbon").Height < 100 then CommandBars.ExecuteMso "MinimizeRibbon"
On my pc 79 is the Minimized ribbon height and 159 when Maximized; hence I chose 100 !!
I have tried the above but it doesn't work. I tried a few things and I found the following:
On my PC Ribbon Minimized height = 97 en Maximized = 190
Code: If Application.CommandBars ("Ribbon"). Height <120 Then CommandBars.ExecuteMso "MinimizeRibbon"
I placed the code in the report load and it worked perfectly!