469,295 Members | 1,959 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,295 developers. It's quick & easy.

How to restart numbering when we combine multiple word doc into one

Hi,
I have a project to combine multiple word doc in single one. I was able to combine them successfully using copy & paste, however I'm having two issues
1. I wanted to keep the original format, therefore I'm using oWordApplication.Selection.PasteAndFormat(Microsof t.Office.Interop.Word. WdRecoveryType .wdFormatOriginalFormatting); which keeps the original formatting.
2. The second issue is the numbering in which it continues from the previous section. I wanted to start numbering from the beginnig. I can use oWordApplication.Selection.PasteAndFormat(Microsof t.Office.Interop.Word. WdRecoveryType .wdListRestartNumbering), but in this case I can't use the wdFormatOriginalFormatting where I lose the original formatting.

Is there a way I can use both (wdFormatOriginalFormatting and wdListRestartNumbering) in single paste, so I can keep the original formatting for each doc and rest the numbering from the beginning?

Or is there a way to restart the numbering after I paste with original formatting. Thanks
Dec 21 '11 #1
0 1379

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

3 posts views Thread by philipl | last post: by
4 posts views Thread by musicloverlch | last post: by
reply views Thread by shaziya | last post: by
1 post views Thread by CARIGAR | last post: by
reply views Thread by zhoujie | last post: by
reply views Thread by harlem98 | last post: by
1 post views Thread by Geralt96 | last post: by
reply views Thread by harlem98 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.