Hello,
I need to have my Excel file with the ribbon hidden.
I have what I need if I do it manully with the button "auto-hide ribbon " from the "ribbon display option":
If i do it with vba code I don't have the same result:
as you can see, with the vba code Application.ExecuteExcel4Macro "show.toolbar(""Ribbon"",False)", the top and bottom bars are different. So the vba code is not doing what you can do manually.
I don't understand how to do in vba to obtein the same result as if I do it manually.
I hope is clear
thank you for your support!
I need to have my Excel file with the ribbon hidden.
I have what I need if I do it manully with the button "auto-hide ribbon " from the "ribbon display option":
If i do it with vba code I don't have the same result:
as you can see, with the vba code Application.ExecuteExcel4Macro "show.toolbar(""Ribbon"",False)", the top and bottom bars are different. So the vba code is not doing what you can do manually.
I don't understand how to do in vba to obtein the same result as if I do it manually.
I hope is clear
thank you for your support!