How to automate and assimilate(or import) two word documents into

G

Guest

I have two documents in word, both with similar bookmarks. Is it possible to
automate and combine the two documents so that the material in smaller
document which just has bookmarks and associated information is assimilated
in the main document at their respective bookmarks?

Which will be easier to do this word or Access?

deepak
 
C

Cindy M.

Hi =?Utf-8?B?bXZwcmVx?=,
I have two documents in word, both with similar bookmarks. Is it possible to
automate and combine the two documents so that the material in smaller
document which just has bookmarks and associated information is assimilated
in the main document at their respective bookmarks?

Which will be easier to do this word or Access?
I'm not sure I understand what it is you have, and what you want do to. You
certainly can use automation to take information from one document and plug it
into another. The place to discuss the code for this would be a word.vba
newsgroup.

Just to be sure: Insert/File, clicking the RANGE button, entering the bookmark
name, then inserting (possibly with a link) doesn't do the trick for you?

Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Jun 17 2005)
http://www.word.mvps.org

This reply is posted in the Newsgroup; please post any follow question or reply
in the newsgroup and not by e-mail :)
 
G

Guest

Thanks Cindy for your response. I will cross post in word.vba as per your
suggestion.
I will need more clarification for what you are suggesting.

First what I need:

I have a main document in which I have created bookmarks where I need to
insert specific information from Document 2. Document 2 has similar named
bookmarks and the information which need to be assimilated in the main
document. These are text blocks or other alpha-numeric characters. How to
import this information at it's proper place in the main document
automatically.

1. Please clarify the steps involved in doing:
Insert/File, clicking the RANGE button, entering the bookmark
name, then inserting (possibly with a link) doesn't do the trick for you?

2. Also on your website you mentioned I could get more information: "A more
detailed discussion, from the developer and power-user's point of view, about
mail merge can be found in the following MOD articles that are available from
the MSDN site free of charge" can you give a link to this site.

Thanks for your time
 
C

Cindy M.

Hi =?Utf-8?B?bXZwcmVx?=,
1. Please clarify the steps involved in doing:
Insert/File, clicking the RANGE button, entering the bookmark
name, then inserting (possibly with a link) doesn't do the trick for you?
Insert menu, File button. Click it.
Choose the file.
Click the RANGE button. Type in the name of the bookmark you want to insert at
the current selection in the document.
Click the Insert button.
2. Also on your website you mentioned I could get more information: "A more
detailed discussion, from the developer and power-user's point of view, about
mail merge can be found in the following MOD articles that are available from
the MSDN site free of charge" can you give a link to this site.
Just scroll the frame down, the links are there.

Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Jun 17 2005)
http://www.word.mvps.org

This reply is posted in the Newsgroup; please post any follow question or reply
in the newsgroup and not by e-mail :)
 
G

Guest

Thanks for your response Cindy:

What I need to clarify is that supposing there are 10 bookmarks spread
throughout the Main document and then there are ten bookmarks with associated
text running into few paragraphs in the second document. So there are ten
separate insertion points corresponding to each bookmark where that specific
book mark text has to be imported; will this command work for such file pairs.

Deepak
 
C

Cindy M.

Hi =?Utf-8?B?bXZwcmVx?=,
What I need to clarify is that supposing there are 10 bookmarks spread
throughout the Main document and then there are ten bookmarks with associated
text running into few paragraphs in the second document. So there are ten
separate insertion points corresponding to each bookmark where that specific
book mark text has to be imported; will this command work for such file pairs.
The approach I gave you means you move the cursor to each of the ten bookmarks,
then insert the Range from the appropriate "partner" bookmark. Manually.

If you want this automated, you need to use a VBA macro. Start by recording the
manual steps with the macro recorder. For further assistance, post in a
specialized word.vba newsgroup.

Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Jun 17 2005)
http://www.word.mvps.org

This reply is posted in the Newsgroup; please post any follow question or reply
in the newsgroup and not by e-mail :)
 
G

Guest

Thanks Cindy

Cindy M. said:
Hi =?Utf-8?B?bXZwcmVx?=,

The approach I gave you means you move the cursor to each of the ten bookmarks,
then insert the Range from the appropriate "partner" bookmark. Manually.

If you want this automated, you need to use a VBA macro. Start by recording the
manual steps with the macro recorder. For further assistance, post in a
specialized word.vba newsgroup.

Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Jun 17 2005)


This reply is posted in the Newsgroup; please post any follow question or reply
in the newsgroup and not by e-mail :)
 

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