Reply
 
Thread Tools Display Modes
  #1   Report Post  
Posted to microsoft.public.word.docmanagement
bushwood bushwood is offline
external usenet poster
 
Posts: 10
Default Merge format switch issue?

Hello,

We are doing a mail merge. Data source is excel file with cell contents "X"
(quotes are not applicable). We are merging the X into a word document but
the value comes through as 0. What formatting switch can we apply to always
indicate an alpha for merge field. The results will be either X in the check
box or nothing, and this is always the case. So if merge encounters some
screwy excel format and doesn't know how to apply the value we only want a X
or nothing at all no 0 ever.

Thanks.
--
"Gambling is illegal @ Bushwood and I never slice."
  #2   Report Post  
Posted to microsoft.public.word.docmanagement
bushwood bushwood is offline
external usenet poster
 
Posts: 10
Default Merge format switch issue condition

My original post was fixed by formatting the excel data source cells as
generic instead of numeric. Not sure why cell contents of only alpha could
ever be construed as 0, but I guess the newer version of word infers much
more than it used to. This is being done on Office 2007 applications.

Separate issue now where we have an EIN or Address field. My format switch
for EIN is screwing up the address fields. How can I type a condition for
format to EIN if cell contents numeric only and if any instance of alpha
character utilize the address formatting?

Thanks for any help.
--
"Gambling is illegal @ Bushwood and I never slice."


"bushwood" wrote:

Hello,

We are doing a mail merge. Data source is excel file with cell contents "X"
(quotes are not applicable). We are merging the X into a word document but
the value comes through as 0. What formatting switch can we apply to always
indicate an alpha for merge field. The results will be either X in the check
box or nothing, and this is always the case. So if merge encounters some
screwy excel format and doesn't know how to apply the value we only want a X
or nothing at all no 0 ever.

Thanks.
--
"Gambling is illegal @ Bushwood and I never slice."

  #3   Report Post  
Posted to microsoft.public.word.docmanagement
bushwood bushwood is offline
external usenet poster
 
Posts: 10
Default Merge format switch issue condition

My original post was fixed by formatting the excel data source cells as
generic instead of numeric. Not sure why cell contents of only alpha could
ever be construed as 0, but I guess the newer version of word infers much
more than it used to. This is being done on Office 2007 applications.

Separate issue now where we have an EIN or Address field. My format switch
for EIN is screwing up the address fields. How can I type a condition for
format to EIN if cell contents numeric only and if any instance of alpha
character utilize the address formatting?

Thanks for any help.
--
"Gambling is illegal @ Bushwood and I never slice."


"bushwood" wrote:

Hello,

We are doing a mail merge. Data source is excel file with cell contents "X"
(quotes are not applicable). We are merging the X into a word document but
the value comes through as 0. What formatting switch can we apply to always
indicate an alpha for merge field. The results will be either X in the check
box or nothing, and this is always the case. So if merge encounters some
screwy excel format and doesn't know how to apply the value we only want a X
or nothing at all no 0 ever.

Thanks.
--
"Gambling is illegal @ Bushwood and I never slice."

  #4   Report Post  
Posted to microsoft.public.word.docmanagement
Peter Jamieson Peter Jamieson is offline
external usenet poster
 
Posts: 4,582
Default Merge format switch issue condition

Can you continue this in the Mailmerge.fields group where I have posted
a response - if not an answer - to your message.

FWIW a description of some of the issues is at

http://tips.pjmsn.me.uk/t0003.htm


Peter Jamieson

http://tips.pjmsn.me.uk

On 28/04/2010 22:47, bushwood wrote:
My original post was fixed by formatting the excel data source cells as
generic instead of numeric. Not sure why cell contents of only alpha could
ever be construed as 0, but I guess the newer version of word infers much
more than it used to. This is being done on Office 2007 applications.

Separate issue now where we have an EIN or Address field. My format switch
for EIN is screwing up the address fields. How can I type a condition for
format to EIN if cell contents numeric only and if any instance of alpha
character utilize the address formatting?

Thanks for any help.

  #5   Report Post  
Posted to microsoft.public.word.docmanagement
Peter Jamieson Peter Jamieson is offline
external usenet poster
 
Posts: 4,582
Default Merge format switch issue condition


Can you continue this in the Mailmerge.fields group where I have posted
a response - if not an answer - to your message.

FWIW a description of some of the issues is at

http://tips.pjmsn.me.uk/t0003.htm


Peter Jamieson

http://tips.pjmsn.me.uk

On 28/04/2010 22:47, bushwood wrote:
My original post was fixed by formatting the excel data source cells as
generic instead of numeric. Not sure why cell contents of only alpha could
ever be construed as 0, but I guess the newer version of word infers much
more than it used to. This is being done on Office 2007 applications.

Separate issue now where we have an EIN or Address field. My format switch
for EIN is screwing up the address fields. How can I type a condition for
format to EIN if cell contents numeric only and if any instance of alpha
character utilize the address formatting?

Thanks for any help.



  #6   Report Post  
Posted to microsoft.public.word.docmanagement
Doug Robbins - Word MVP Doug Robbins - Word MVP is offline
external usenet poster
 
Posts: 8,832
Default Merge format switch issue condition

The following field construction might work

{ IF { = { MERGEFIELD Address } - { MERGEFIELD Address } } = 0 { MERGEFIELD
Address [with EIN Switch] } { MERGEFIELD Address } }

--
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

"bushwood" wrote in message
...
My original post was fixed by formatting the excel data source cells as
generic instead of numeric. Not sure why cell contents of only alpha
could
ever be construed as 0, but I guess the newer version of word infers much
more than it used to. This is being done on Office 2007 applications.

Separate issue now where we have an EIN or Address field. My format
switch
for EIN is screwing up the address fields. How can I type a condition for
format to EIN if cell contents numeric only and if any instance of alpha
character utilize the address formatting?

Thanks for any help.
--
"Gambling is illegal @ Bushwood and I never slice."


"bushwood" wrote:

Hello,

We are doing a mail merge. Data source is excel file with cell contents
"X"
(quotes are not applicable). We are merging the X into a word document
but
the value comes through as 0. What formatting switch can we apply to
always
indicate an alpha for merge field. The results will be either X in the
check
box or nothing, and this is always the case. So if merge encounters some
screwy excel format and doesn't know how to apply the value we only want
a X
or nothing at all no 0 ever.

Thanks.
--
"Gambling is illegal @ Bushwood and I never slice."


  #7   Report Post  
Posted to microsoft.public.word.docmanagement
Doug Robbins - Word MVP Doug Robbins - Word MVP is offline
external usenet poster
 
Posts: 8,832
Default Merge format switch issue condition

The following field construction might work

{ IF { = { MERGEFIELD Address } - { MERGEFIELD Address } } = 0 { MERGEFIELD
Address [with EIN Switch] } { MERGEFIELD Address } }

--
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

"bushwood" wrote in message
...
My original post was fixed by formatting the excel data source cells as
generic instead of numeric. Not sure why cell contents of only alpha
could
ever be construed as 0, but I guess the newer version of word infers much
more than it used to. This is being done on Office 2007 applications.

Separate issue now where we have an EIN or Address field. My format
switch
for EIN is screwing up the address fields. How can I type a condition for
format to EIN if cell contents numeric only and if any instance of alpha
character utilize the address formatting?

Thanks for any help.
--
"Gambling is illegal @ Bushwood and I never slice."


"bushwood" wrote:

Hello,

We are doing a mail merge. Data source is excel file with cell contents
"X"
(quotes are not applicable). We are merging the X into a word document
but
the value comes through as 0. What formatting switch can we apply to
always
indicate an alpha for merge field. The results will be either X in the
check
box or nothing, and this is always the case. So if merge encounters some
screwy excel format and doesn't know how to apply the value we only want
a X
or nothing at all no 0 ever.

Thanks.
--
"Gambling is illegal @ Bushwood and I never slice."


  #8   Report Post  
Posted to microsoft.public.word.docmanagement
bushwood bushwood is offline
external usenet poster
 
Posts: 10
Default Merge format switch issue condition

Yes sorry I posted here first then clarified that the inherent formatting of
excel fixed the 0 values being placed in merged document for an alpha
character (changed from numeric format to general format in source data file
fixed the 0 value issue).

Then I saw a separate discussion area for mailmerge specific and posted
again there.

I am having a hard time with a condition for format switch based on cell
content as opposed to cell value.

merge will encounter blanks, text, numeric, text + numeric. We only want a
switch applied to numeric. please continue responses in mailmerge section of
word discussion board thanks!
--
"Gambling is illegal @ Bushwood and I never slice."


"Peter Jamieson" wrote:

Can you continue this in the Mailmerge.fields group where I have posted
a response - if not an answer - to your message.

FWIW a description of some of the issues is at

http://tips.pjmsn.me.uk/t0003.htm


Peter Jamieson

http://tips.pjmsn.me.uk

On 28/04/2010 22:47, bushwood wrote:
My original post was fixed by formatting the excel data source cells as
generic instead of numeric. Not sure why cell contents of only alpha could
ever be construed as 0, but I guess the newer version of word infers much
more than it used to. This is being done on Office 2007 applications.

Separate issue now where we have an EIN or Address field. My format switch
for EIN is screwing up the address fields. How can I type a condition for
format to EIN if cell contents numeric only and if any instance of alpha
character utilize the address formatting?

Thanks for any help.

.

  #9   Report Post  
Posted to microsoft.public.word.docmanagement
bushwood bushwood is offline
external usenet poster
 
Posts: 10
Default Merge format switch issue condition

Yes sorry I posted here first then clarified that the inherent formatting of
excel fixed the 0 values being placed in merged document for an alpha
character (changed from numeric format to general format in source data file
fixed the 0 value issue).

Then I saw a separate discussion area for mailmerge specific and posted
again there.

I am having a hard time with a condition for format switch based on cell
content as opposed to cell value.

merge will encounter blanks, text, numeric, text + numeric. We only want a
switch applied to numeric. please continue responses in mailmerge section of
word discussion board thanks!
--
"Gambling is illegal @ Bushwood and I never slice."


"Peter Jamieson" wrote:

Can you continue this in the Mailmerge.fields group where I have posted
a response - if not an answer - to your message.

FWIW a description of some of the issues is at

http://tips.pjmsn.me.uk/t0003.htm


Peter Jamieson

http://tips.pjmsn.me.uk

On 28/04/2010 22:47, bushwood wrote:
My original post was fixed by formatting the excel data source cells as
generic instead of numeric. Not sure why cell contents of only alpha could
ever be construed as 0, but I guess the newer version of word infers much
more than it used to. This is being done on Office 2007 applications.

Separate issue now where we have an EIN or Address field. My format switch
for EIN is screwing up the address fields. How can I type a condition for
format to EIN if cell contents numeric only and if any instance of alpha
character utilize the address formatting?

Thanks for any help.

.

Reply
Thread Tools
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Mail Merge Switch Format for Currency Peter Hibbs[_2_] Mailmerge 2 February 19th 10 09:40 PM
Word Mail Merge - Format text size switch mj_bowen Mailmerge 4 October 27th 09 09:15 AM
Looking for example of merge field switch format zipcode in Word -cg Mailmerge 2 May 10th 07 07:32 PM
Word Merge - Format Output with Double Spacing - Switch?? ocbarney Mailmerge 2 August 14th 06 07:17 PM
Merge Field with Title Case format issue Craig Mailmerge 2 February 18th 06 07:47 AM


All times are GMT +1. The time now is 02:41 PM.

Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Word"