A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Word » Formatting Long Documents
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Insert Document without creating a hard return



 
 
Thread Tools Display Modes
  #1  
Old May 16th, 2008, 12:37 PM posted to microsoft.public.word.formatting.longdocs
Xanbaby
external usenet poster
 
Posts: 22
Default Insert Document without creating a hard return

I need a way to insert a document into another so that only the text
appearing in the document will appear without being following by a hard
return. The inserted text is conditional, will be inserted into many
documents and will change with time, hence the need to used Insert Document.
An example is detailed below:

Before

Please contact us at {insert doc phone.doc} should you have any queries.

After

Please contact us at 0123456789
should you have any queries.

Obviously, I need to prevent this hard return from creeping in. And alas I
can't just position the field at the end of a paragraph, much as I'd like
to!!

Any assistance would be greatly appreciated.


  #2  
Old May 16th, 2008, 12:55 PM posted to microsoft.public.word.formatting.longdocs
Stefan Blom
external usenet poster
 
Posts: 8,433
Default Insert Document without creating a hard return

Since each document contains at least one paragraph mark there is no way to
insert text from a document without also adding a paragraph mark.

What you can do is store the text to be inserted as an AutoText entry. Then
use an AUTOTEXTLIST field to add it to documents.

When the source AutoText changes, you can update the field to reflect the
changes.

--
Stefan Blom
Microsoft Word MVP


"Xanbaby" wrote in message ...
I need a way to insert a document into another so that only the text
appearing in the document will appear without being following by a hard
return. The inserted text is conditional, will be inserted into many
documents and will change with time, hence the need to used Insert
Document. An example is detailed below:

Before

Please contact us at {insert doc phone.doc} should you have any queries.

After

Please contact us at 0123456789
should you have any queries.

Obviously, I need to prevent this hard return from creeping in. And alas
I can't just position the field at the end of a paragraph, much as I'd
like to!!

Any assistance would be greatly appreciated.






 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 04:36 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.