Reply
 
Thread Tools Display Modes
  #1   Report Post  
Posted to microsoft.public.word.mailmerge.fields
MC MC is offline
external usenet poster
 
Posts: 12
Default Mail merge with excel

I am trying to merge an excel document that was exported from another
application. I have setup all of the fields but am having the following
problem when merging. My Excel spreadsheet has approximately 6 columns
(school, employee name, absence reason, initial balance, days taken, current
balance) and one employee name may be listed 5 times in a row because they
have 5 different absence reasons. Because they are listed on the spreadsheet
more than once, I receive 5 different sheets for one person. In the Word
document I have created a table which shows the absence reason, initial
balance, etc. and the employee name and school is listed above outside the
table. How do I get only the absence code information for one specific
employee to merge on one sheet?
  #2   Report Post  
Posted to microsoft.public.word.mailmerge.fields
Graham Mayor Graham Mayor is offline
external usenet poster
 
Posts: 19,312
Default Mail merge with excel

How to use mail merge to create a list sorted by category -
http://support.microsoft.com/?kbid=294686

Fellow MVP 'macropod' has posted a tutorial on this, with working field
codes and a sample Excel data source which you can download from my website
http://www.gmayor.com/Zips/Catalogue%20Mailmerge.zip

--

Graham Mayor - Word MVP

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



MC wrote:
I am trying to merge an excel document that was exported from another
application. I have setup all of the fields but am having the
following problem when merging. My Excel spreadsheet has
approximately 6 columns (school, employee name, absence reason,
initial balance, days taken, current balance) and one employee name
may be listed 5 times in a row because they have 5 different absence
reasons. Because they are listed on the spreadsheet more than once,
I receive 5 different sheets for one person. In the Word document I
have created a table which shows the absence reason, initial balance,
etc. and the employee name and school is listed above outside the
table. How do I get only the absence code information for one
specific employee to merge on one sheet?



  #3   Report Post  
Posted to microsoft.public.word.mailmerge.fields
Rich/rerat Rich/rerat is offline
external usenet poster
 
Posts: 93
Default Mail merge with excel

Are you doing a Catalog/Directory Merge? If so, I would create another
Absentee Mail Merge letter for multiple instances for the same person. It's
the simplest I can think of.

1. Copy the text from the other letter that doesn't involve the Merged
Information.
2. Create a table 6 columns X 10 rows. Or how many rows you need. After
creating the table, select all the cells.
Right click the highlighted table Properties On the Row tab Uncheck allow
break of rows over pages.
3. Select the Data Source that you use.
4. Duplicate the Header names from the 1st document, in the first document.
5. In the second row add the Mergefields from your data base. One Mergefield
to each CELL.
{Mergefield "School"}
{Mergefield "EmpNme"}
{Mergefiled "Absreason"}
{Mergefield "IntBal"}
{Mergefield "DysTkn"}
{Mergefield "CurrBal"}
6. Starting with the third (3rd) row, add the {Next} field in front of the
"School" merge field, and Copy/Paste the Mergefields entries down the
appropriate column, but do not include the "EmpNme" mergefield for row three
(3) and beyond.

Row(1): Headers

Row(2):
{Mergefield "School"} {Mergefield "EmpNme"} {Mergefiled "Absreason"}
{Mergefield "IntBal"} {Mergefield "DysTkn"} {Mergefield "CurrBal"}

Row(3) and beyond:
{Next}{Mergefield "School"} ("EmpNme" Blank) {Mergefield "Absreason"}
{Mergefield "IntBal"} {Mergefield "DysTkn"} {Mergefield "CurrBal"}

When you do the Merge with the new document, clear all the records in the
Data Source list, except for that single employee. The run the merge to New
Document. When doing the Merge for the other employees, use the old
document, clear the employee records that concern the same employee, with
multiple or different absences.

Save the New Document to your Template folder, giving it an appropriate
name.

--
Add MS to your News Reader: news://msnews.microsoft.com
Rich/rerat
(RRR News) message rule
Previous Text Snipped to Save Bandwidth When Appropriate


"MC" wrote in message
news I am trying to merge an excel document that was exported from another
application. I have setup all of the fields but am having the following
problem when merging. My Excel spreadsheet has approximately 6 columns
(school, employee name, absence reason, initial balance, days taken, current
balance) and one employee name may be listed 5 times in a row because they
have 5 different absence reasons. Because they are listed on the
spreadsheet
more than once, I receive 5 different sheets for one person. In the Word
document I have created a table which shows the absence reason, initial
balance, etc. and the employee name and school is listed above outside the
table. How do I get only the absence code information for one specific
employee to merge on one sheet?


  #4   Report Post  
Posted to microsoft.public.word.mailmerge.fields
macropod[_2_] macropod[_2_] is offline
external usenet poster
 
Posts: 2,059
Default Mail merge with excel

And you think that's easier than using the method described in my tutorial?

--
Cheers
macropod
[Microsoft MVP - Word]


"Rich/rerat" wrote in message ...
Are you doing a Catalog/Directory Merge? If so, I would create another
Absentee Mail Merge letter for multiple instances for the same person. It's
the simplest I can think of.

1. Copy the text from the other letter that doesn't involve the Merged
Information.
2. Create a table 6 columns X 10 rows. Or how many rows you need. After
creating the table, select all the cells.
Right click the highlighted table Properties On the Row tab Uncheck allow
break of rows over pages.
3. Select the Data Source that you use.
4. Duplicate the Header names from the 1st document, in the first document.
5. In the second row add the Mergefields from your data base. One Mergefield
to each CELL.
{Mergefield "School"}
{Mergefield "EmpNme"}
{Mergefiled "Absreason"}
{Mergefield "IntBal"}
{Mergefield "DysTkn"}
{Mergefield "CurrBal"}
6. Starting with the third (3rd) row, add the {Next} field in front of the
"School" merge field, and Copy/Paste the Mergefields entries down the
appropriate column, but do not include the "EmpNme" mergefield for row three
(3) and beyond.

Row(1): Headers

Row(2):
{Mergefield "School"} {Mergefield "EmpNme"} {Mergefiled "Absreason"}
{Mergefield "IntBal"} {Mergefield "DysTkn"} {Mergefield "CurrBal"}

Row(3) and beyond:
{Next}{Mergefield "School"} ("EmpNme" Blank) {Mergefield "Absreason"}
{Mergefield "IntBal"} {Mergefield "DysTkn"} {Mergefield "CurrBal"}

When you do the Merge with the new document, clear all the records in the
Data Source list, except for that single employee. The run the merge to New
Document. When doing the Merge for the other employees, use the old
document, clear the employee records that concern the same employee, with
multiple or different absences.

Save the New Document to your Template folder, giving it an appropriate
name.

--
Add MS to your News Reader: news://msnews.microsoft.com
Rich/rerat
(RRR News) message rule
Previous Text Snipped to Save Bandwidth When Appropriate


"MC" wrote in message
news I am trying to merge an excel document that was exported from another
application. I have setup all of the fields but am having the following
problem when merging. My Excel spreadsheet has approximately 6 columns
(school, employee name, absence reason, initial balance, days taken, current
balance) and one employee name may be listed 5 times in a row because they
have 5 different absence reasons. Because they are listed on the
spreadsheet
more than once, I receive 5 different sheets for one person. In the Word
document I have created a table which shows the absence reason, initial
balance, etc. and the employee name and school is listed above outside the
table. How do I get only the absence code information for one specific
employee to merge on one sheet?


  #5   Report Post  
Posted to microsoft.public.word.mailmerge.fields
Rich/rerat Rich/rerat is offline
external usenet poster
 
Posts: 93
Default Mail merge with excel

macropod,
I read "MC's" problem, was that a merge mail letter they use, would be
produced, to report a single absence that were taken during a time period,
such as monthly, to be sent to an individual .

From"MC":

"and one employee name may be listed 5 times in a row because they
have 5 different absence reasons. Because they are listed on the
spreadsheet
more than once, I receive 5 different sheets for one person."

And that they did not want to produce a seperate document for each instance
of absence, for the same person, during that time period.

I see that your tutorial, would do the job, if the School district was
sending a Summary sheet for each School's absences, or for the entire
District absences based on each individual school.

I do see an error in my table though, it should read:
Row(1): Headers

Row(2):
Column1: {Mergefield "EmpName"}
Column2: {Mergefield "School"}
Column3: {Mergefiled "Absreason"}
Column4: {Mergefield "IntBal"}
Column5: {Mergefield "DysTkn"}
Column6: {Mergefield "CurrBal"}

Starting in Row(3)
Column1 should only have the {Next} field in it. And the other columns
should have the appropriate Mergefields filled in.
--
Add MS to your News Reader: news://msnews.microsoft.com
Rich/rerat
(RRR News) message rule
Previous Text Snipped to Save Bandwidth When Appropriate


"macropod" wrote in message
...
And you think that's easier than using the method described in my tutorial?

--
Cheers
macropod
[Microsoft MVP - Word]


"Rich/rerat" wrote in message
...
Are you doing a Catalog/Directory Merge? If so, I would create another
Absentee Mail Merge letter for multiple instances for the same person.
It's
the simplest I can think of.

1. Copy the text from the other letter that doesn't involve the Merged
Information.
2. Create a table 6 columns X 10 rows. Or how many rows you need. After
creating the table, select all the cells.
Right click the highlighted table Properties On the Row tab Uncheck
allow
break of rows over pages.
3. Select the Data Source that you use.
4. Duplicate the Header names from the 1st document, in the first
document.
5. In the second row add the Mergefields from your data base. One
Mergefield
to each CELL.
{Mergefield "School"}
{Mergefield "EmpNme"}
{Mergefiled "Absreason"}
{Mergefield "IntBal"}
{Mergefield "DysTkn"}
{Mergefield "CurrBal"}
6. Starting with the third (3rd) row, add the {Next} field in front of the
"School" merge field, and Copy/Paste the Mergefields entries down the
appropriate column, but do not include the "EmpNme" mergefield for row
three
(3) and beyond.

Row(1): Headers

Row(2):
{Mergefield "School"} {Mergefield "EmpNme"} {Mergefiled "Absreason"}
{Mergefield "IntBal"} {Mergefield "DysTkn"} {Mergefield "CurrBal"}

Row(3) and beyond:
{Next}{Mergefield "School"} ("EmpNme" Blank) {Mergefield "Absreason"}
{Mergefield "IntBal"} {Mergefield "DysTkn"} {Mergefield "CurrBal"}

When you do the Merge with the new document, clear all the records in the
Data Source list, except for that single employee. The run the merge to
New
Document. When doing the Merge for the other employees, use the old
document, clear the employee records that concern the same employee, with
multiple or different absences.

Save the New Document to your Template folder, giving it an appropriate
name.

--
Add MS to your News Reader: news://msnews.microsoft.com
Rich/rerat
(RRR News) message rule
Previous Text Snipped to Save Bandwidth When Appropriate


"MC" wrote in message
news I am trying to merge an excel document that was exported from another
application. I have setup all of the fields but am having the following
problem when merging. My Excel spreadsheet has approximately 6 columns
(school, employee name, absence reason, initial balance, days taken,
current
balance) and one employee name may be listed 5 times in a row because they
have 5 different absence reasons. Because they are listed on the
spreadsheet
more than once, I receive 5 different sheets for one person. In the Word
document I have created a table which shows the absence reason, initial
balance, etc. and the employee name and school is listed above outside the
table. How do I get only the absence code information for one specific
employee to merge on one sheet?




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
MS Word Mail Merge from Excel -- Force Excel to open the datafile? [email protected] Mailmerge 6 September 26th 08 03:08 PM
ExcelWord Mail merge transfers 16 digits when Excel shows only 3 John Richmond, Watford UK Mailmerge 8 April 26th 06 06:00 AM
mail merge from excel-date in excel January 1, 2005 -merged dbase. Elaine Ballon Mailmerge 1 December 23rd 05 08:31 AM
How to convert a mail merge document back to excel after mail mer Mail Merge Help Microsoft Word Help 4 August 22nd 05 11:31 PM
Insert Merge Field problem with Word-Mail Merge from Excel documen Augusta E. Microsoft Word Help 2 June 20th 05 10:59 AM


All times are GMT +1. The time now is 05:28 AM.

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"