chetan Allipur

chetan Allipur

  • NA
  • 541
  • 157.9k

Convert it to c#

Jul 6 2017 5:04 AM
ActiveDocument.Fields.item(f).Type = 64
 
here I tried.
 
Microsoft.Office.Interop.Word.Application app = Globals.ThisAddIn.Application;
Microsoft.Office.Interop.Word.Document doc1 = app.ActiveDocument;
doc1.Fields[f].Parent.Type=64
 
Please send me the code in c#. Its urgent 

Answers (4)