PasteAndFormat() function

L

Leon_Amirreza

Hi,
I have some Word (.doc) files containing Lists and I want to Merge them in
one file through automation (in C#), but the numbering dosent update
automatically, the only way i could find to solve this problem is this:


worddoctmp.Content.Copy();

worddocExam.Activate();

worddocAns.Application.Selection.PasteAndFormat(Word.WdRecoveryType.wdListCo
mbineWithExistingList);

any better approch that dosnt use clipboard?

Thank ya very much in advance.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top