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  

Need an output field



 
 
Thread Tools Display Modes
  #1  
Old December 15th, 2008, 06:21 PM posted to microsoft.public.word.formatting.longdocs
Xanbaby
external usenet poster
 
Posts: 22
Default Need an output field

I'm using Word 2003 and have created a document which analyses a database
and returns the result (Lots of If's, but once completed, it will be merged
frequently into many documents, so the setup and maintenance is worthwhile).
I wish to use these result in a master document, and can achieve and
automate this via an INSERT command.

The issue is that the INSERT command places a hard return after the document
is inserted, whereas I will frequently need to use the calculation in the
middle of several documents. What I was hoping to achieve is:

Set the result into a temporary field in word, then insert the document into
a region of the document where I need a hard return. I imagine a command
something similar to that detailed below would suffice.

IF condition A is met then tempfield = Output Endif

I should then be able to place the tempfield into the middle of the
document without generating a hard return.

Is it possible to manipulate the result of an IF command in such a manner in
MS Word? Any assistance would be greatly appreciated.


  #2  
Old December 16th, 2008, 04:11 AM posted to microsoft.public.word.formatting.longdocs
macropod[_2_]
external usenet poster
 
Posts: 2,402
Default Need an output field

Hi Xanbaby,

If I understand the problem correctly, you're trying to include the contents of a source document in a target document, but without
the source document's final CR. If that's so, you could bookmark all of the source document, except the final CR, then use an
INCLUDETEXT field in the target document to link to the bookmarked range in the source document. See Word's help file for more
details.

--
Cheers
macropod
[MVP - Microsoft Word]


"Xanbaby" wrote in message ...
I'm using Word 2003 and have created a document which analyses a database and returns the result (Lots of If's, but once
completed, it will be merged frequently into many documents, so the setup and maintenance is worthwhile). I wish to use these
result in a master document, and can achieve and automate this via an INSERT command.

The issue is that the INSERT command places a hard return after the document is inserted, whereas I will frequently need to use
the calculation in the middle of several documents. What I was hoping to achieve is:

Set the result into a temporary field in word, then insert the document into a region of the document where I need a hard return.
I imagine a command something similar to that detailed below would suffice.

IF condition A is met then tempfield = Output Endif

I should then be able to place the tempfield into the middle of the document without generating a hard return.

Is it possible to manipulate the result of an IF command in such a manner in MS Word? 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 12:08 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.