2
Reply

Convert VBA code to Equivalent C# code.

chetan Allipur

chetan Allipur

Jul 10 2017 5:07 AM
245
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)