Insert File

M

mcp6453

This post is a repeat of an identical one in
microsoft.public.word.docmanagement, which doesn't seem to have much
traffic.

Word 2000: If I Insert a File that is Doc2 into Doc1, what information
from Doc2 is inserted into Doc1 other than the text? Headers? Styles?
Macros? I've done some testing, but it is not conclusive.

New Info:
I'm still trying to create template that are configured to automatically
open my standard letterhead template and then insert text specific to
the template. For example, pastdue.dot, when opened, would start a new
document based on letterhead.dot and then insert the text imported from
pastdue.doc. The idea is that when letterhead.dot changes, it would only
have to be changed in one place.

I think I could figure out how to do this with macros, but I think there
should be an easier way.

Cindy posted a suggestion previously that I tried, but I could not get
it to work. The help available for Insert as link and Insert files seems
to be quite limited.

Thanks!
 
M

mcp6453

mcp6453 said:
This post is a repeat of an identical one in
microsoft.public.word.docmanagement, which doesn't seem to have much
traffic.

Word 2000: If I Insert a File that is Doc2 into Doc1, what information
from Doc2 is inserted into Doc1 other than the text? Headers? Styles?
Macros? I've done some testing, but it is not conclusive.

New Info:
I'm still trying to create template that are configured to automatically
open my standard letterhead template and then insert text specific to
the template. For example, pastdue.dot, when opened, would start a new
document based on letterhead.dot and then insert the text imported from
pastdue.doc. The idea is that when letterhead.dot changes, it would only
have to be changed in one place.

I think I could figure out how to do this with macros, but I think there
should be an easier way.

Cindy posted a suggestion previously that I tried, but I could not get
it to work. The help available for Insert as link and Insert files seems
to be quite limited.

Thanks!


Suzanne answered the original question, so please disregard.

I have figured out one way to accomplish my objective, but the solution
is not optimal.

1) File | New | Letterhead -- save as letterhead.doc (note .doc
extension)
2) Close letterhead.doc
3) New blank document
4) Insert | Field | InserText "Doc1.doc"
5) Insert | Field | InsertText "Doc2.doc"
6) SaveAs insert.dot

Then I created an AutoNew macro specific to insert.dot that includes the
command, ActiveDocument.Content.Fields.Unlink to unlink the fields.
While this solution works well, and I know this seems to be a trivial
matter, but I really want Doc1.doc to be letterhead.dot so that I only
have to update the letterhead template in one place. That is, the normal
sequence would be,

1) File | New | insert
2) [Creates a new document based on letterhead.dot]
3) Inserts Doc2.doc
4) Unlinks fields

Is there a better way?
 
S

Suzanne S. Barnhill

The usual suggestion is to create letterhead templates using an AutoText
*field* for the actual letterhead. Then when you need to change the
letterhead, you modify the AutoText entry and update the field in the
template.



mcp6453 said:
mcp6453 said:
This post is a repeat of an identical one in
microsoft.public.word.docmanagement, which doesn't seem to have much
traffic.

Word 2000: If I Insert a File that is Doc2 into Doc1, what information
from Doc2 is inserted into Doc1 other than the text? Headers? Styles?
Macros? I've done some testing, but it is not conclusive.

New Info:
I'm still trying to create template that are configured to automatically
open my standard letterhead template and then insert text specific to
the template. For example, pastdue.dot, when opened, would start a new
document based on letterhead.dot and then insert the text imported from
pastdue.doc. The idea is that when letterhead.dot changes, it would only
have to be changed in one place.

I think I could figure out how to do this with macros, but I think there
should be an easier way.

Cindy posted a suggestion previously that I tried, but I could not get
it to work. The help available for Insert as link and Insert files seems
to be quite limited.

Thanks!


Suzanne answered the original question, so please disregard.

I have figured out one way to accomplish my objective, but the solution
is not optimal.

1) File | New | Letterhead -- save as letterhead.doc (note .doc
extension)
2) Close letterhead.doc
3) New blank document
4) Insert | Field | InserText "Doc1.doc"
5) Insert | Field | InsertText "Doc2.doc"
6) SaveAs insert.dot

Then I created an AutoNew macro specific to insert.dot that includes the
command, ActiveDocument.Content.Fields.Unlink to unlink the fields.
While this solution works well, and I know this seems to be a trivial
matter, but I really want Doc1.doc to be letterhead.dot so that I only
have to update the letterhead template in one place. That is, the normal
sequence would be,

1) File | New | insert
2) [Creates a new document based on letterhead.dot]
3) Inserts Doc2.doc
4) Unlinks fields

Is there a better way?
 
M

mcp6453

Suzanne said:
The usual suggestion is to create letterhead templates using an AutoText
*field* for the actual letterhead. Then when you need to change the
letterhead, you modify the AutoText entry and update the field in the
template.

What are the steps for doign so? Maybe this will work. Is AutoText
stored in normal.dot?
 
M

mcp6453

Suzanne said:
The usual suggestion is to create letterhead templates using an AutoText
*field* for the actual letterhead. Then when you need to change the
letterhead, you modify the AutoText entry and update the field in the
template.


Just figured it out. However, I will still have to figure out how to
UnlinkFields in the header and footer because, after the letter is
printed, the content of the original document cannot change. That is, if
I send you a letter today and update the AutoText for the header
tomorrow, if I open the letter on Tuesday, it must have today's
information in the header. Does that make sense???

Is there a better way to unlink the fields than with an AutoNew macro? I
don't think ActiveDocument.Content.Fields.Unlink works on headers unless
I open the header, run it, and then close the header.
 
S

Suzanne S. Barnhill

Charles Kenyon has evidently got this figured out in his letterhead
templates. You might have a look at his Web site.
 
Top