I have created a new Excel application:
Microsoft.Office.Interop.Excel.Application application = new Excel.Application();
Now, I would like to hide the ribbon in this application completely (i.e. without giving to an Excel user a possibility to show this ribbon again). How can I do it?
I have found one solution:
application.ExecuteExcel4Macro("SHOW.TOOLBAR(\"Ribbon\",False)");
but I would like to find a more elegant way, not using macros. Is it somehow possible?