Can entering a 'key word' automatically import text?

G

Guest

I am trying to automate a process whereby entering a 'key word' will bring
in standard text from another Word document - is this possible?
 
J

Jay Freedman

I am trying to automate a process whereby entering a 'key word' will bring
in standard text from another Word document - is this possible?

It's possible, but will take some preliminary setup.

The first part is to create the standard text in a known place. It can
all be in one document (or a few), with a separate bookmark assigned
to each piece; or it can be one piece per document. If this is going
to be distributed to more than one computer, you need to determine one
folder\file path that will be the same on all the computers.

Now create a document in which you use the Insert > File dialog to
create INCLUDETEXT fields, one per piece (in the dialog, select the
file, then click the down arrow next to the Insert button and choose
Insert as Link). Clicking in the text and pressing Shift+F9 will show
you the field code. If you used bookmarks in the source documents, add
the bookmark name after the file name to limit the text to just that
bookmark.

Now select the field and create an AutoText entry by pressing Alt+F3.
Give it a name (which is the 'key word' you mentioned). By default
this entry is stored in the Normal.dot template; by using the Insert >
AutoText > AutoText dialog, you can specify a different template, or
you can use the Organizer later to move the entries en masse. Make a
separate AutoText entry for each piece of text.

If you're setting this up for multiple computers, distribute the
template and place it in the Word Startup folder on each computer, and
place the source document(s) in the same location as on the first
computer.

--
Regards,
Jay Freedman
Microsoft Word MVP
Email cannot be acknowledged; please post all follow-ups to the
newsgroup so all may benefit.
 

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