Word.Document doc = Globals.ThisAddIn.Application.ActiveDocument; doc.SaveAs2(FileName: Path.GetDirectoryName(doc.FullName) + Path.GetFileNameWithoutExtension(doc.Name) + ".txt",FileFormat:Word.WdSaveFormat.wdFormatText);
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)