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 / December 2004

Tip: Looking for answers? Try searching our database.

ASK WITHIN IF  (PLEASE PLEASE PLEASE)

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Cheryl - 03 Dec 2004 00:55 GMT
I want to ask the user if the client owes any money and if so, to insert
something.  I have {IF {ASK "Does the client owe the firm money for late
annual reports?"} = "yes""Please also forward your cheque in the sum of
$180.00 to our firm with the enclosed documents"}

Of course it doesn't work; I hardly expected it to.  I've never done this
kind of thing before and Word's help was useless.
Greg Maxey - 03 Dec 2004 01:31 GMT
Cheryl

It sounds like you are talking about Word Fields and not VBA.
{ ASK MoneyDue "Does the client owe ..." }{ IF { MoneyDue } = "Yes""Please.
.  .  " }

The ASK field fires the prompt sets the bookmark value.  The IF fields
compares the value of the REF field to the sting "yes" and provides the
desired text if the condition is met.  All field codes braces {  } must be
entered with CTRL+F9.

Signature

Greg Maxey/Word MVP
A Peer in Peer to Peer Support

> I want to ask the user if the client owes any money and if so, to
> insert something.  I have {IF {ASK "Does the client owe the firm
[quoted text clipped - 3 lines]
> Of course it doesn't work; I hardly expected it to.  I've never done
> this kind of thing before and Word's help was useless.

Rate this thread:






 
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.