Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
rudywelvaert
Creator
Creator

How to hide and unhide tabrow on event trigger

Hi,

Is it possible to hide and unhide the tabrow of a document triggered by an event?

Thanks

RW

1 Reply
stabben23
Partner - Master
Partner - Master

Try this macro, then you need to activate macro With some event or variable

Sub HideTab 
'rem Hides tabrow in document properties 
set docprop = ActiveDocument.GetProperties 
docprop.ShowTabRow=false 
ActiveDocument.SetProperties docprop 
End Sub