Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 04-17-2015, 03:34 AM
Joseph.Comerford@bentley. Joseph.Comerford@bentley. is offline Creating a table in one document of WORD from EXCEL with Mail Merge Windows 8 Creating a table in one document of WORD from EXCEL with Mail Merge Office 2013
Novice
Creating a table in one document of WORD from EXCEL with Mail Merge
 
Join Date: Apr 2015
Posts: 1
Joseph.Comerford@bentley. is on a distinguished road
Default Creating a table in one document of WORD from EXCEL with Mail Merge

Hi,

I am trying to take a simple excel file and create a table in a single word document when I run a directory Mail Merge.

I am trying to use the code
{IF { MERGESEQ } = "1" "{ MERGEFIELD «Payer»}" "" }<ENTER>
{ SET Place1 { MERGEFIELD «Payer»}}<ENTER>
{ If { Place2 } <> { Place1 }"<ENTER>
{ MERGEFIELD «Payer»}<ENTER>
<ENTER>


{ MERGEFIELD «Invoice»}{ MERGEFIELD «Due_Date»}{ MERGEFIELD «Curr»}{ MERGEFIELD «Local_Amt» }"

Although it does not appear to be working correctly.

Is this possible to do?

How can I do this?


I have attached the very simple WORD and EXCEL file and would appreciate if anyone could help me make this happen.

Thanks
Attached Files
File Type: xlsx Excel for Forum.xlsx (10.8 KB, 12 views)
File Type: docx Table for Forum.docx (20.5 KB, 11 views)
Reply With Quote
  #2  
Old 04-18-2015, 01:19 AM
gmayor's Avatar
gmayor gmayor is offline Creating a table in one document of WORD from EXCEL with Mail Merge Windows 7 64bit Creating a table in one document of WORD from EXCEL with Mail Merge Office 2010 32bit
Expert
 
Join Date: Aug 2014
Posts: 4,101
gmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud of
Default

It won't begin to work as you have it because the field names do not match what is in the example data file.

If you want to pursue this approach, then see Paul Edstein's tutorial which you can download from http://www.gmayor.com/downloads.htm.

You might find it simpler to use http://www.gmayor.com/ManyToOne.htm? There are however two provisos relating to your data.

1. Don't use the # symbol in field names
2. You can't use a child field as the key field, but as all the records in the table relate to the same name, you don't need the name field in the table. If you put it in the header instead you get:

__________________
Graham Mayor - MS MVP (Word) (2002-2019)
Visit my web site for more programming tips and ready made processes www.gmayor.com
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Creating a table in one document of WORD from EXCEL with Mail Merge Mail Merge in Word: creating a rule for blanks cgranada Mail Merge 6 02-27-2017 09:08 AM
Creating Barcode Badges using Microsoft Word Mail Merge 2013 Sarah15 Mail Merge 4 04-16-2015 06:03 AM
Creating a table in one document of WORD from EXCEL with Mail Merge Merge From Excel With Table in Word - Next Record If Excel Column Same? misscrf Mail Merge 2 10-15-2014 11:51 PM
Mail merge table from Excel to Word krezumica Mail Merge 2 03-06-2014 10:26 PM
Insert formatted table into word (mail merge) manojbmsce Mail Merge 0 09-25-2008 02:25 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 05:40 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft