Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 01-17-2017, 09:56 PM
E__YU E__YU is offline Mailmerge invoicing multiple items Windows XP Mailmerge invoicing multiple items Office 2010 32bit
Novice
Mailmerge invoicing multiple items
 
Join Date: Jan 2017
Posts: 2
E__YU is on a distinguished road
Exclamation Mailmerge invoicing multiple items

Hi,

I am looking to create invoices with a mailmerge from an excel list. There are multiple line items to be invoiced for one Fund. I have tried adapting the code in this thread:
https://www.msofficeforums.com/mail-...nt-dollar.html

with

{QUOTE{IF{MERGESEQ}= 1 {SET Key ""}}
"{IF{QUOTE{MERGEFIELD FirstOrganization}}<> {Key}
"{IF{MERGESEQ}> 1 {QUOTE 12}}{MERGEFIELD FirstOrganization \f " "}{SET Key {QUOTE{MERGEFIELD FirstOrganization}}
Date


"} {MERGEFIELD Item1}
"}
But I get this as a result:

Organisation Organisation Item1

(1 organisation has many items, and I want the invoice to show Organisation with list of Items).

Help is greatly appreciated!! Thank you.
Reply With Quote
  #2  
Old 01-17-2017, 10:46 PM
gmayor's Avatar
gmayor gmayor is offline Mailmerge invoicing multiple items Windows 10 Mailmerge invoicing multiple items Office 2016
Expert
 
Join Date: Aug 2014
Posts: 4,103
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

See http://www.gmayor.com/ManyToOne.htm
__________________
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
  #3  
Old 01-17-2017, 10:52 PM
E__YU E__YU is offline Mailmerge invoicing multiple items Windows XP Mailmerge invoicing multiple items Office 2010 32bit
Novice
Mailmerge invoicing multiple items
 
Join Date: Jan 2017
Posts: 2
E__YU is on a distinguished road
Default

Quote:
Originally Posted by gmayor View Post
Thank you but since this is on a work laptop, I cannot install/download my add ins, is there another way?
Thank you
Reply With Quote
  #4  
Old 01-24-2017, 05:55 AM
macropod's Avatar
macropod macropod is offline Mailmerge invoicing multiple items Windows 7 64bit Mailmerge invoicing multiple items Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,962
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

The fact you're using a laptop does not of itself preclude the use of an Addin.

That said, you can also use Word's Catalogue/Directory Mailmerge facility for this (the terminology depends on the Word version). To see how to do so with any mailmerge data source supported by Word, check out my Microsoft Word Catalogue/Directory Mailmerge Tutorial:
https://www.msofficeforums.com/mail-...-tutorial.html
The tutorial covers everything from list creation to the insertion & calculation of values in multi-record tables in letters. Do read the tutorial before trying to use the mailmerge document included with it.

The field coding for this is complex. However, since the tutorial document includes working field codes for all of its examples, most of the hard work has already been done for you - you should be able to do little more than copy/paste the relevant field codes into your own mailmerge main document, substitute/insert your own field names and adjust the formatting to get the results you desire. For some worked examples, see the attachments to the posts at:
https://www.msofficeforums.com/mail-...html#post23345
https://www.msofficeforums.com/mail-...html#post30327

Another option would be to use a DATABASE field in a normal ‘letter’ mailmerge main document and a macro to drive the process. An example of this approach can be found at: Many to one email merge using tables - Microsoft Community
The DATABASE field can even be used without recourse to a mailmerge. An example of such usage can be found at: https://www.msofficeforums.com/mail-...html#post67097
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
Reply

Tags
invoice, mailmerge, multiline



Similar Threads
Thread Thread Starter Forum Replies Last Post
Mailmerge invoicing multiple items Help with formula and math involved with totaling data for invoicing lonniepoet Excel 2 01-11-2016 03:01 PM
Mailmerge invoicing multiple items Trouble doing a Mailmerge in Word 2010 with multiple records for the same client Merlot Mail Merge 2 12-07-2015 10:13 AM
Mailmerge invoicing multiple items Table in Mailmerge from selected items in access cnaab Mail Merge 1 11-01-2014 12:45 AM
Mailmerge certain text using multiple if statements Debs Mail Merge 4 06-19-2014 03:34 AM
Outlook CONTACTS used for invoicing Garratt Outlook 0 02-16-2006 06:33 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 11:29 PM.


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