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. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
merg document formatting
I have a word document (catalogue) around one of the fields I would like to
put a parenthesis. (nick_name). If there isn’t a nick name I would like the space left blank without the parentheses. I have tried if then but can’t seem to get it to work. Can anyone help? Thanks Dick |
#2
|
|||
|
|||
merg document formatting
Use the following field construction
{ IF { MERGEFIELD nick_name } "" "({ MERGEFIELD nick_name })" } You must use Ctrl+F9 for each pair of field delimiters { } and you use Alt+F9 to toggle off their display. -- Hope this helps. Please reply to the newsgroup unless you wish to avail yourself of my services on a paid consulting basis. Doug Robbins - Word MVP, originally posted via msnews.microsoft.com "Anvil22" wrote in message news I have a word document (catalogue) around one of the fields I would like to put a parenthesis. (nick_name). If there isn’t a nick name I would like the space left blank without the parentheses. I have tried if then but can’t seem to get it to work. Can anyone help? Thanks Dick |
#3
|
|||
|
|||
merg document formatting
Doug this works great. However is the a way to close the blank line if no
nick name is used. I'm not sure I'm explaining it correctly. Let the try with an example Thomas (tom) Mary - Wife Thomas blank line - no nick name mary Could it read Thomas mary Thank you Dick "Doug Robbins - Word MVP" wrote: Use the following field construction { IF { MERGEFIELD nick_name } "" "({ MERGEFIELD nick_name })" } You must use Ctrl+F9 for each pair of field delimiters { } and you use Alt+F9 to toggle off their display. -- Hope this helps. Please reply to the newsgroup unless you wish to avail yourself of my services on a paid consulting basis. Doug Robbins - Word MVP, originally posted via msnews.microsoft.com "Anvil22" wrote in message news I have a word document (catalogue) around one of the fields I would like to put a parenthesis. (nick_name). If there isn’t a nick name I would like the space left blank without the parentheses. I have tried if then but can’t seem to get it to work. Can anyone help? Thanks Dick |
#4
|
|||
|
|||
merg document formatting
In that case use
{ IF { MERGEFIELD nick_name } "" "({ MERGEFIELD nick_name })¶ { MERGEFIELD wife_name }" { MERGEFIELD wife_name } } Where the ¶ appears above, press the Enter key or Shift+Enter -- Hope this helps. Please reply to the newsgroup unless you wish to avail yourself of my services on a paid consulting basis. Doug Robbins - Word MVP, originally posted via msnews.microsoft.com "Anvil22" wrote in message ... Doug this works great. However is the a way to close the blank line if no nick name is used. I'm not sure I'm explaining it correctly. Let the try with an example Thomas (tom) Mary - Wife Thomas blank line - no nick name mary Could it read Thomas mary Thank you Dick "Doug Robbins - Word MVP" wrote: Use the following field construction { IF { MERGEFIELD nick_name } "" "({ MERGEFIELD nick_name })" } You must use Ctrl+F9 for each pair of field delimiters { } and you use Alt+F9 to toggle off their display. -- Hope this helps. Please reply to the newsgroup unless you wish to avail yourself of my services on a paid consulting basis. Doug Robbins - Word MVP, originally posted via msnews.microsoft.com "Anvil22" wrote in message news I have a word document (catalogue) around one of the fields I would like to put a parenthesis. (nick_name). If there isn’t a nick name I would like the space left blank without the parentheses. I have tried if then but can’t seem to get it to work. Can anyone help? Thanks Dick |
#5
|
|||
|
|||
merg document formatting
Or perhaps more simply:
{IF{MERGEFIELD nick_name} "" "({ MERGEFIELD nick_name })¶ "}{MERGEFIELD wife_name} -- Cheers macropod [Microsoft MVP - Word] "Doug Robbins - Word MVP" wrote in message ... In that case use { IF { MERGEFIELD nick_name } "" "({ MERGEFIELD nick_name })¶ { MERGEFIELD wife_name }" { MERGEFIELD wife_name } } Where the ¶ appears above, press the Enter key or Shift+Enter -- Hope this helps. Please reply to the newsgroup unless you wish to avail yourself of my services on a paid consulting basis. Doug Robbins - Word MVP, originally posted via msnews.microsoft.com "Anvil22" wrote in message ... Doug this works great. However is the a way to close the blank line if no nick name is used. I'm not sure I'm explaining it correctly. Let the try with an example Thomas (tom) Mary - Wife Thomas blank line - no nick name mary Could it read Thomas mary Thank you Dick "Doug Robbins - Word MVP" wrote: Use the following field construction { IF { MERGEFIELD nick_name } "" "({ MERGEFIELD nick_name })" } You must use Ctrl+F9 for each pair of field delimiters { } and you use Alt+F9 to toggle off their display. -- Hope this helps. Please reply to the newsgroup unless you wish to avail yourself of my services on a paid consulting basis. Doug Robbins - Word MVP, originally posted via msnews.microsoft.com "Anvil22" wrote in message news I have a word document (catalogue) around one of the fields I would like to put a parenthesis. (nick_name). If there isn’t a nick name I would like the space left blank without the parentheses. I have tried if then but can’t seem to get it to work. Can anyone help? Thanks Dick |
#6
|
|||
|
|||
merg document formatting
Doug, I beleive that will solve the problem
Thank you. Dick how does on contacct you. "Doug Robbins - Word MVP" wrote: In that case use { IF { MERGEFIELD nick_name } "" "({ MERGEFIELD nick_name })¶ { MERGEFIELD wife_name }" { MERGEFIELD wife_name } } Where the ¶ appears above, press the Enter key or Shift+Enter -- Hope this helps. Please reply to the newsgroup unless you wish to avail yourself of my services on a paid consulting basis. Doug Robbins - Word MVP, originally posted via msnews.microsoft.com "Anvil22" wrote in message ... Doug this works great. However is the a way to close the blank line if no nick name is used. I'm not sure I'm explaining it correctly. Let the try with an example Thomas (tom) Mary - Wife Thomas blank line - no nick name mary Could it read Thomas mary Thank you Dick "Doug Robbins - Word MVP" wrote: Use the following field construction { IF { MERGEFIELD nick_name } "" "({ MERGEFIELD nick_name })" } You must use Ctrl+F9 for each pair of field delimiters { } and you use Alt+F9 to toggle off their display. -- Hope this helps. Please reply to the newsgroup unless you wish to avail yourself of my services on a paid consulting basis. Doug Robbins - Word MVP, originally posted via msnews.microsoft.com "Anvil22" wrote in message news I have a word document (catalogue) around one of the fields I would like to put a parenthesis. (nick_name). If there isn’t a nick name I would like the space left blank without the parentheses. I have tried if then but can’t seem to get it to work. Can anyone help? Thanks Dick |
#7
|
|||
|
|||
merg document formatting
Unbelivable - thank you.
Dick "macropod" wrote: Or perhaps more simply: {IF{MERGEFIELD nick_name} "" "({ MERGEFIELD nick_name })¶ "}{MERGEFIELD wife_name} -- Cheers macropod [Microsoft MVP - Word] "Doug Robbins - Word MVP" wrote in message ... In that case use { IF { MERGEFIELD nick_name } "" "({ MERGEFIELD nick_name })¶ { MERGEFIELD wife_name }" { MERGEFIELD wife_name } } Where the ¶ appears above, press the Enter key or Shift+Enter -- Hope this helps. Please reply to the newsgroup unless you wish to avail yourself of my services on a paid consulting basis. Doug Robbins - Word MVP, originally posted via msnews.microsoft.com "Anvil22" wrote in message ... Doug this works great. However is the a way to close the blank line if no nick name is used. I'm not sure I'm explaining it correctly. Let the try with an example Thomas (tom) Mary - Wife Thomas blank line - no nick name mary Could it read Thomas mary Thank you Dick "Doug Robbins - Word MVP" wrote: Use the following field construction { IF { MERGEFIELD nick_name } "" "({ MERGEFIELD nick_name })" } You must use Ctrl+F9 for each pair of field delimiters { } and you use Alt+F9 to toggle off their display. -- Hope this helps. Please reply to the newsgroup unless you wish to avail yourself of my services on a paid consulting basis. Doug Robbins - Word MVP, originally posted via msnews.microsoft.com "Anvil22" wrote in message news I have a word document (catalogue) around one of the fields I would like to put a parenthesis. (nick_name). If there isn’t a nick name I would like the space left blank without the parentheses. I have tried if then but can’t seem to get it to work. Can anyone help? Thanks Dick . |
#8
|
|||
|
|||
merg document formatting
You can contact me by email at dkr[atsymbol]mvps[dot]org
-- Hope this helps. Please reply to the newsgroup unless you wish to avail yourself of my services on a paid consulting basis. Doug Robbins - Word MVP, originally posted via msnews.microsoft.com "Anvil22" wrote in message ... Doug, I beleive that will solve the problem Thank you. Dick how does on contacct you. "Doug Robbins - Word MVP" wrote: In that case use { IF { MERGEFIELD nick_name } "" "({ MERGEFIELD nick_name })¶ { MERGEFIELD wife_name }" { MERGEFIELD wife_name } } Where the ¶ appears above, press the Enter key or Shift+Enter -- Hope this helps. Please reply to the newsgroup unless you wish to avail yourself of my services on a paid consulting basis. Doug Robbins - Word MVP, originally posted via msnews.microsoft.com "Anvil22" wrote in message ... Doug this works great. However is the a way to close the blank line if no nick name is used. I'm not sure I'm explaining it correctly. Let the try with an example Thomas (tom) Mary - Wife Thomas blank line - no nick name mary Could it read Thomas mary Thank you Dick "Doug Robbins - Word MVP" wrote: Use the following field construction { IF { MERGEFIELD nick_name } "" "({ MERGEFIELD nick_name })" } You must use Ctrl+F9 for each pair of field delimiters { } and you use Alt+F9 to toggle off their display. -- Hope this helps. Please reply to the newsgroup unless you wish to avail yourself of my services on a paid consulting basis. Doug Robbins - Word MVP, originally posted via msnews.microsoft.com "Anvil22" wrote in message news I have a word document (catalogue) around one of the fields I would like to put a parenthesis. (nick_name). If there isn’t a nick name I would like the space left blank without the parentheses. I have tried if then but can’t seem to get it to work. Can anyone help? Thanks Dick |
Thread Tools | |
Display Modes | |
|
|