I have been using the following to code to write in word file but not able to store the word file. Is there any way to store the word file using C# ?
object
Try this:
var FileName = 'file name with path'
oWord.ActiveDocument.SaveAs(ref FileName, ref missing,
ref missing, ref missing, ref missing,
ref missing, ref missing, ref missing,
ref missing, ref missing, ref missing,
ref missing, ref missing, ref missing,
ref missing, ref missing);
oDoc.Close(ref missing, ref missing, ref missing);