I think this will work but haven't tested it.
{ IF { REF "A1" } <> "" "{ = { REF "A1" } * { REF "B1" } }" "" }
Insert the field braces using Ctrl-F9. Don't type them using the braces on
the keyboard; they don't work. You can do this by typing the text for the
fields and then select each field (working from the inside to the outside)
and press Ctrl-F9. Or, you can press Ctrl-F9 as you get to the place where
you want each field and use your arrow keys or mouse to leave the field and
continue typing. When you have finished the entire field, move the insertion
point (cursor) into the field and press the F9 key.
If that doesn't work, try it without the quotation marks around the cell
references. The REF fields may not be required but I have found I seem to
get better results using them rather than simply using bookmark names.
--
Charles Kenyon
Word New User FAQ & Web Directory:
<URL:
http://addbalance.com/word/index.htm>
Intermediate User's Guide to Microsoft Word (supplemented version of
Microsoft's Legal Users' Guide)
<URL:
http://addbalance.com/usersguide/index.htm>
See also the MVP FAQ: <URL:
http://www.mvps.org/word/> 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.
frank said:
How would I write the following spreadsheet function so
--
Charles Kenyon
Word New User FAQ & Web Directory:
<URL:
http://addbalance.com/word/index.htm>
Intermediate User's Guide to Microsoft Word (supplemented version of
Microsoft's Legal Users' Guide)
<URL:
http://addbalance.com/usersguide/index.htm>
See also the MVP FAQ: <URL:
http://www.mvps.org/word/> 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.