View Single Post
 
Old 12-21-2017, 08:16 AM
gmayor's Avatar
gmayor gmayor is offline Windows 10 Office 2016
Expert
 
Join Date: Aug 2014
Posts: 4,144
gmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud of
Default

If you mean can I create a macro in Word that will simply hide a tab on the default ribbon, then the answer to that is no.

You can do it with a document or template, but as that also requires manipulation of the ribbon XML code to provide the hooks for VBA to be able to hide the tab, it is probably simpler all round just to edit the ribbon itself - hence my suggestion.

If you want to dig deeper see https://www.rondebruin.nl/win/s2/win012.htm (although for Excel the principles are the same) and in particular download https://filedb.experts-exchange.com/...t-in-Tabs.xlsm, but somehow I don't think these are what you had in mind.
__________________
Graham Mayor - MS MVP (Word) (2002-2019)
Visit my web site for more programming tips and ready made processes www.gmayor.com
Reply With Quote