Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 129
  • Last Modified:

Word ranges named

I have a word document that has 4 section breaks in it to separate information. I need to copy this data to another word document. What I need to know is how can I identify the sections so if a user add his own breaks I can still locate the correct one.

I am currently using the index property but that does not work if another section is added.
0
JonMny
Asked:
JonMny
  • 2
1 Solution
 
gilbarCommented:
bookmarks is what i'd use. these will copy.  The only would be them trying to add a bookmark with that name, which would overwrite yours.  
0
 
dmangCommented:
There are a couple of things that come to mind.
1.  You could add a custom "style" to the document. When copying to another document (VBA driven?) only choose the document ranges where the style is your custom style.

2.  Construct the original documents with subdocuments - one per section that you want to copy. In fact, you would not have to copy, rather, construct the destination document from the subdocuments.
0
 
gilbarCommented:
thanx for points!
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now