G
Guest
I have a code that merge some .doc files into one .doc file. the code is just
like this:
foreach(string mFile in mFiles)
{
documentoFinal.Application.Selection.InsertFile(mFile, ref vazio, ref
vazio, ref vazio, ref vazio);
documentoFinal.Application.Selection.InsertBreak(ref oBreak);
}
But the format of the Headers and Footnotes cam always with the first file
that I input! Why he do that and how can I solve this problem?
like this:
foreach(string mFile in mFiles)
{
documentoFinal.Application.Selection.InsertFile(mFile, ref vazio, ref
vazio, ref vazio, ref vazio);
documentoFinal.Application.Selection.InsertBreak(ref oBreak);
}
But the format of the Headers and Footnotes cam always with the first file
that I input! Why he do that and how can I solve this problem?