Please follow these simple steps:-
-Right‑click theToolbar or Quick Access toolbar and select Collapse the toolbar from the shortcut menu. Repeat again and uncheck the option to restore the Toolbar.
-Double‑click on the active tab to collapse. Double‑click on any tab to re‑display the full toolbar
-Minimize the Ribbon using the [Ctrl] + [F1] toggle which leaves only the tabs. Press [Ctrl] + [F1] again to restore the toolbar
-Click once on the toolbar Display Options button in the upper‑right corner of the program window (next to the Windows management buttons). Choose from options to Auto-hide toolbar, Show Tabs, Show Tabs and Commands.
Hope this solves your problem.