PDA

View Full Version : Hide Word Tool Bars Menu - Make White Like Excel



dj44
05-11-2017, 06:40 AM
folks,
:)
good thursday, any one know how i can get rid of the word menu without excessive ribbon programming or something.
Excel has it right see image no menu - with 1 line of code.

I cant get that in word




Sub Hide_ExcelToolbars()


'This one below doesnt work in word??

Application.ExecuteExcel4Macro "Show.ToolBar(""Ribbon"",false)"

End Sub



19149


When i make the word window small i would not like to see the menu its very cluttered and i like the excel white -its very clean

I hope some one knows how this can be acheived as ive scoured every where,

please do help with some ideas.

Logit
05-11-2017, 11:05 AM
.
.
I've never worked with WORD via VBA. So .. if you can assign the following to a KeyPress event or a button on the document ...



Sub hidRib()
ActiveWindow.ToggleRibbon
End Sub

dj44
05-11-2017, 06:21 PM
I just discovered by accident that the border dissapears when its aprox 200px - but thats a tiny amount of space

I guess its a start, but i still dont know how to get rid of the ribbon menu completely

like the excel


19151

but it falls flat when i make the width bigger

Logit
05-11-2017, 06:50 PM
https://word.tips.net/T001571_Assigning_a_Macro_to_a_Button_in_Your_Text.html

dj44
05-11-2017, 06:57 PM
Hello L,
thank you for the tips.
when i Toggle the ribbon , it maximised the word window and i lose the small size width of aprox 300 wide.
I am trying to use this to display only some information i need.
A bit like a fake userform.
I really am not good with useforms and am trying to avoid them.
But the Blue ribbon is a sight for sore eyes