hi,
doc.Save(dataDir + “Invoice Out.doc”);
foreach (Section sect in doc.Sections)
{
//Create new document
var dst = new Document();
//Remove all sections
dst.FirstSection.Remove();
//Import section from the source document
dst.Sections.Add(dst.ImportNode(sect, true, ImportFormatMode.KeepSourceFormatting));
//Save doucument
dst.Save(dataDir + string.Format(“out_{0}.docx”, index), SaveFormat.Docx);
index++;
}