w3hello.com logo
Home PHP C# C++ Android Java Javascript Python IOS SQL HTML videos Categories
Merge and Split Word Documents using Microsoft.Office.Interop.Word in C#

In my opinion best options (instead of tags) would be to use bookmarks. Bookmarks are:

  1. easy to add!! something like Activedocument.bookmarks.add... (based on VBA syntax)
  2. easy to find (by name),
  3. they could be iterated by for each loop where iteration goes by bookmark name,
  4. they have range object property which allows you to find exact point within your document where bookmark is located,
  5. they could be zero length range if needed
  6. they could be invisible if name starts with _ (underline mark, works rather only when bookmark is added programmatically)

© Copyright 2018 w3hello.com Publishing Limited. All rights reserved.