Reply
 
Thread Tools Display Modes
  #1   Report Post  
Posted to microsoft.public.word.mailmerge.fields
ngtybtnice ngtybtnice is offline
external usenet poster
 
Posts: 3
Default Excel & Mail Merge problem - help??

I have an old computer containing Windows98 as well as Excel97. I am
not able to obtain anything newer at the moment.

I am trying to teach myself how to use Excel97 to maintain a database
of names & address.

I have put in all the data correctly, and if I run a catalog or labels,
it works fine. Any rows which I have temporarily "hidden" do not show
up when I print it out.

But now I want to mail merge the Excel database with a letter using
Word and incorporate the names & address into the body of the letter.

However, when I merge the letter with the excel file, the "hidden" rows
still show up but with blanks in the letter.

For example, letter with non-hidden rows show up correctly:

Dear John Smith:
Thank you for your......

But hidden rows, still print, but have blank spaces with the data would
be:

Dear [blank space]:
Thank you for your....

What do I need to do so that hidden rows do not print?

Thank you.

marcy

  #2   Report Post  
Posted to microsoft.public.word.mailmerge.fields
Graham Mayor Graham Mayor is offline
external usenet poster
 
Posts: 19,312
Default Excel & Mail Merge problem - help??

Add and extra column - call it (say) Hidden
Put a 1 in all that column for all the hidden rows.
At the start of your merge document put a conditional field
{SKIPIF {Mergefield Hidden} = 1}

--

Graham Mayor - Word MVP

My web site www.gmayor.com
Word MVP web site http://word.mvps.org


ngtybtnice wrote:
I have an old computer containing Windows98 as well as Excel97. I am
not able to obtain anything newer at the moment.

I am trying to teach myself how to use Excel97 to maintain a database
of names & address.

I have put in all the data correctly, and if I run a catalog or
labels, it works fine. Any rows which I have temporarily "hidden" do
not show up when I print it out.

But now I want to mail merge the Excel database with a letter using
Word and incorporate the names & address into the body of the letter.

However, when I merge the letter with the excel file, the "hidden"
rows still show up but with blanks in the letter.

For example, letter with non-hidden rows show up correctly:

Dear John Smith:
Thank you for your......

But hidden rows, still print, but have blank spaces with the data
would be:

Dear [blank space]:
Thank you for your....

What do I need to do so that hidden rows do not print?

Thank you.

marcy



  #3   Report Post  
Posted to microsoft.public.word.mailmerge.fields
ngtybtnice ngtybtnice is offline
external usenet poster
 
Posts: 3
Default Excel & Mail Merge problem - help??

Graham Mayor wrote:

Add and extra column - call it (say) Hidden
Put a 1 in all that column for all the hidden rows.
At the start of your merge document put a conditional field
{SKIPIF {Mergefield Hidden} = 1}


ngtybtnice wrote:

I have an old computer containing Windows98 as well as Excel97. I am
not able to obtain anything newer at the moment.

I am trying to teach myself how to use Excel97 to maintain a database
of names & address.

I have put in all the data correctly, and if I run a catalog or
labels, it works fine. Any rows which I have temporarily "hidden" do
not show up when I print it out.

But now I want to mail merge the Excel database with a letter using
Word and incorporate the names & address into the body of the letter.

However, when I merge the letter with the excel file, the "hidden"
rows still show up but with blanks in the letter.

For example, letter with non-hidden rows show up correctly:

Dear John Smith:
Thank you for your......

But hidden rows, still print, but have blank spaces with the data
would be:

Dear [blank space]:
Thank you for your....

What do I need to do so that hidden rows do not print?

Thank you.

marcy



That sound like a great idea. I'll give it a try - and if I'm still
having problems, I'll let you know.

Thanks.

marcy

  #4   Report Post  
Posted to microsoft.public.word.mailmerge.fields
marcy marcy is offline
external usenet poster
 
Posts: 1
Default Excel & Mail Merge problem - help??


Graham Mayor wrote:

Add and extra column - call it (say) Hidden
Put a 1 in all that column for all the hidden rows.
At the start of your merge document put a conditional field
{SKIPIF {Mergefield Hidden} = 1}




I took your suggestion and it worked perfectly!

In fact, under INSERT WORD FIELD there was a place to check that would
SKIP RECORD IF... hidden - equal to - 1

Thank you!

marcy

  #5   Report Post  
Posted to microsoft.public.word.mailmerge.fields
Graham Mayor Graham Mayor is offline
external usenet poster
 
Posts: 19,312
Default Excel & Mail Merge problem - help??

You are welcome - have a good Christmas.

--

Graham Mayor - Word MVP

My web site www.gmayor.com
Word MVP web site http://word.mvps.org


marcy wrote:
Graham Mayor wrote:

Add and extra column - call it (say) Hidden
Put a 1 in all that column for all the hidden rows.
At the start of your merge document put a conditional field
{SKIPIF {Mergefield Hidden} = 1}




I took your suggestion and it worked perfectly!

In fact, under INSERT WORD FIELD there was a place to check that would
SKIP RECORD IF... hidden - equal to - 1

Thank you!

marcy



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 Word 2003 Issue S.Nicks Mailmerge 5 February 20th 09 01:55 AM
Problem with mail merge from Excel sheet to Word, HELP? G.Greich Mailmerge 0 November 11th 05 08:44 AM
Attaching different Excel files to emailed mail merge using merge. Pete Cuff Mailmerge 1 November 3rd 05 06:54 PM
Mail Merge does not accept formatted cell of Excel Freny Mailmerge 1 August 18th 05 04:46 AM
Problem with automating mail merge HeatherO Mailmerge 2 March 29th 05 10:11 PM


All times are GMT +1. The time now is 03:09 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"