A Microsoft Office (Excel, Word) forum. OfficeFrustration

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.

Go Back   Home » OfficeFrustration forum » Microsoft Word » Mailmerge
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

merg document formatting



 
 
Thread Tools Display Modes
  #1  
Old March 4th, 2010, 02:29 AM posted to microsoft.public.word.mailmerge.fields
Anvil22
external usenet poster
 
Posts: 39
Default 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  
Old March 4th, 2010, 04:02 AM posted to microsoft.public.word.mailmerge.fields
Doug Robbins - Word MVP
external usenet poster
 
Posts: 8,239
Default 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  
Old March 4th, 2010, 05:11 AM posted to microsoft.public.word.mailmerge.fields
Anvil22
external usenet poster
 
Posts: 39
Default 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  
Old March 4th, 2010, 07:43 AM posted to microsoft.public.word.mailmerge.fields
Doug Robbins - Word MVP
external usenet poster
 
Posts: 8,239
Default 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  
Old March 4th, 2010, 11:39 AM posted to microsoft.public.word.mailmerge.fields
macropod[_2_]
external usenet poster
 
Posts: 2,402
Default 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  
Old March 4th, 2010, 04:25 PM posted to microsoft.public.word.mailmerge.fields
Anvil22
external usenet poster
 
Posts: 39
Default 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  
Old March 4th, 2010, 04:28 PM posted to microsoft.public.word.mailmerge.fields
Anvil22
external usenet poster
 
Posts: 39
Default 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  
Old March 4th, 2010, 10:24 PM posted to microsoft.public.word.mailmerge.fields
Doug Robbins - Word MVP
external usenet poster
 
Posts: 8,239
Default 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

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 09:06 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.