Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Word / Programming / April 2006

Tip: Looking for answers? Try searching our database.

Conditional fields on a word document

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
GastonFranzini@gmail.com - 04 Apr 2006 16:13 GMT
Hi,
I need some conditional fields in a word document depending on an value
in excel.
Is there a way of showing or not showing some formated text?
for example:

If X is female, then a line should appear but if X is Male then another
line should appear, the table where I have the gender info is on an
Excel table.
Thanks.
Charles Kenyon - 04 Apr 2006 18:36 GMT
Yes. This is relatively easy to do so long as you standardize the condition
information. Case makes a difference; Male is not the same as male.

See the gender toolbar at http://addbalance.com/word/download.htm for
examples of gender-conditional fields. In this case, they are based on
document properties rather than merge fields, but you can delete the
{DOCPROPERTY Gender} field and insert a {MergeField Gender} to make them
function in a merge.
Signature

Charles Kenyon

Word New User FAQ & Web Directory: http://addbalance.com/word

Intermediate User's Guide to Microsoft Word (supplemented version of
Microsoft's Legal Users' Guide) http://addbalance.com/usersguide

See also the MVP FAQ: http://word.mvps.org/FAQs/ which is awesome!
--------- --------- --------- --------- --------- ---------
This message is posted to a newsgroup. Please post replies
and questions to the newsgroup so that others can learn
from my ignorance and your wisdom.

> Hi,
> I need some conditional fields in a word document depending on an value
[quoted text clipped - 6 lines]
> Excel table.
> Thanks.
GastonFranzini@gmail.com - 04 Apr 2006 19:06 GMT
Thanks a Lot Charles,
Can I use a value in an excel value? rather than Mail merge?
Is there a way of not showing a sentence based in an excel value?
Thanks in advance
Charles Kenyon - 04 Apr 2006 21:36 GMT
I use mailmerge to pull values from Excel. When I use mailmerge, it is only
on one record at a time.
Short of mailmerge, I don't know how to get something from Excel in a form
where a field can evaluate it. That may just be because I haven't tried.
Signature

Charles Kenyon

Word New User FAQ & Web Directory: http://addbalance.com/word

Intermediate User's Guide to Microsoft Word (supplemented version of
Microsoft's Legal Users' Guide) http://addbalance.com/usersguide

See also the MVP FAQ: http://word.mvps.org/FAQs/ which is awesome!
--------- --------- --------- --------- --------- ---------
This message is posted to a newsgroup. Please post replies
and questions to the newsgroup so that others can learn
from my ignorance and your wisdom.

> Thanks a Lot Charles,
> Can I use a value in an excel value? rather than Mail merge?
> Is there a way of not showing a sentence based in an excel value?
> Thanks in advance
GastonFranzini@gmail.com - 04 Apr 2006 21:56 GMT
Thanks,  I´ll work on it using mail merge in just one field.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.