(Msg. 1) Posted: Mon Dec 15, 2008 5:21 pm
Post subject: Need an output field Archived from groups: microsoft>public>word>formatting>longdocs (more info?)
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.
(Msg. 2) Posted: Tue Dec 16, 2008 3:02 am
Post subject: Re: Need an output field [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
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" <anyblehrubbish DeleteThis @123.com> wrote in message news:ODIrCmtXJHA.1188@TK2MSFTNGP05.phx.gbl...
> 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.
>
All times are: Eastern Time (US & Canada) (change)
Page 1 of 1
You can post new topics in this forum You can reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum