Copy/Multiple Paste

Home Forums WordprocessingML Copy/Multiple Paste

This topic contains 1 reply, has 2 voices, and was last updated by  Eric White 1 year, 1 month ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #4310


    I have a requirement to copy an arbitrary range and paste it several times back into the document.

    This is possible in Word Interop using Selection.InsertXML()

    How would you go about doing this using OpenXML?


    Eric White


    The main issue is that the copied range may contain ‘interrelated markup’, such as references to images, smart art, comments, and even footmarks / endmarks.

    The best approach to copy and paste ranges is to use DocumentBuilder. Watch the screen-casts at the following link:

    Best, Eric

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.