2
Answers

Convert VBA code to Equivalent C# code.

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. 
Answers (2)