Here is VBA Code.
If cmbhlevels.Value = "1" Then
ActiveDocument.AttachedTemplate.AutoTextEntries("z_TOC1").Insert Where _
:=Selection.Range, RichText:=True
End If
Please help me.
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
chetan AllipurPosted Jul 11, 2017, 7:16 AM
Abhilash J APosted Jul 11, 2017, 7:10 AM