Microsoft Office Forums Group Category Mail Merge

Go Back   Microsoft Office Forums > >

Closed Thread
 
Thread Tools Display Modes
  #1  
Old 11-22-2015, 06:52 PM
fairchance fairchance is offline Group Category Mail Merge Windows 8 Group Category Mail Merge Office 2010 64bit
Advanced Beginner
Group Category Mail Merge
 
Join Date: Jun 2015
Posts: 55
fairchance can only hope to improve
Default Group Category Mail Merge

Dear Sir,



Hi - I need to create a mail merge template that groups items from one column in the source data (xls) and returns a list of records to that category (which is a person).

The methodology is likely going to be this, but I can't figure it out.

https://support.microsoft.com/en-us/kb/294686

Sir, I am asking second time this kind of mail merge as I am unable to understand the working of this code. I have copied, pasted and edited this code as per my requirements but it is not working for me.

Please guide me as how this code work for my custom file?

Kind Regards

Shehbaz H.
  #2  
Old 11-23-2015, 01:20 PM
macropod's Avatar
macropod macropod is offline Group Category Mail Merge Windows 7 64bit Group Category Mail Merge Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 19,653
macropod is a splendid one to beholdmacropod is a splendid one to beholdmacropod is a splendid one to beholdmacropod is a splendid one to beholdmacropod is a splendid one to beholdmacropod is a splendid one to beholdmacropod is a splendid one to beholdmacropod is a splendid one to behold
Default

I have previously given you links to my tutorial, which includes fully-working field code examples for this. I suggest you read it and adapt the code to your needs.
__________________
Cheers,
Paul Edstein
[MS MVP - Word]
  #3  
Old 11-28-2015, 03:37 AM
fairchance fairchance is offline Group Category Mail Merge Windows 8 Group Category Mail Merge Office 2010 64bit
Advanced Beginner
Group Category Mail Merge
 
Join Date: Jun 2015
Posts: 55
fairchance can only hope to improve
Default

Dear Sir,

Hi

You always guide me in different crucial times. I need to know the explaination of merge field codes. Please guide me about the Set Place="1" and {if{Place2}<>{Place1}"

as what is the meaning of Place 1 and 2 and what is the condition say and what is the meaning of commas. Please let me know Sir. Moreover, at the start of this code the word "Quots" is also used what is the purpose of this keyword?

Kind Regards

Shehbaz H.
  #4  
Old 11-28-2015, 04:16 AM
macropod's Avatar
macropod macropod is offline Group Category Mail Merge Windows 7 64bit Group Category Mail Merge Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 19,653
macropod is a splendid one to beholdmacropod is a splendid one to beholdmacropod is a splendid one to beholdmacropod is a splendid one to beholdmacropod is a splendid one to beholdmacropod is a splendid one to beholdmacropod is a splendid one to beholdmacropod is a splendid one to behold
Default

The tutorial does not use those fields - they are from Microsoft's example. The field coding in the tutorial is superior - I suggest you use that. The tutorial also explains the field coding...
__________________
Cheers,
Paul Edstein
[MS MVP - Word]
  #5  
Old 11-28-2015, 10:00 PM
fairchance fairchance is offline Group Category Mail Merge Windows 8 Group Category Mail Merge Office 2010 64bit
Advanced Beginner
Group Category Mail Merge
 
Join Date: Jun 2015
Posts: 55
fairchance can only hope to improve
Default

Sir, I have checked your tutorial. The data fields and not showing on right places and scattered from the margin as I have left aligned each field.

Please view the result and guide accordingly: http://prntscr.com/986s1p
http://prntscr.com/986sad

Kind Regards

Shehbaz H.
  #6  
Old 11-28-2015, 10:36 PM
macropod's Avatar
macropod macropod is offline Group Category Mail Merge Windows 7 64bit Group Category Mail Merge Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 19,653
macropod is a splendid one to beholdmacropod is a splendid one to beholdmacropod is a splendid one to beholdmacropod is a splendid one to beholdmacropod is a splendid one to beholdmacropod is a splendid one to beholdmacropod is a splendid one to beholdmacropod is a splendid one to behold
Default

Those problems have nothing to do with mailmerge as such - it is entirely a matter of how you have formatted your document, specifically regarding tab-stops. If you had copied the field coding with the paragraph break of the paragraph they're attached to, you would obtain the same layout as in the tutorial.
__________________
Cheers,
Paul Edstein
[MS MVP - Word]
  #7  
Old 11-28-2015, 10:41 PM
fairchance fairchance is offline Group Category Mail Merge Windows 8 Group Category Mail Merge Office 2010 64bit
Advanced Beginner
Group Category Mail Merge
 
Join Date: Jun 2015
Posts: 55
fairchance can only hope to improve
Default

Sir, I have tried it through Microsoft Code and the no output result.

http://screencast.com/t/qEseoeXXhzI
  #8  
Old 11-28-2015, 10:54 PM
macropod's Avatar
macropod macropod is offline Group Category Mail Merge Windows 7 64bit Group Category Mail Merge Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 19,653
macropod is a splendid one to beholdmacropod is a splendid one to beholdmacropod is a splendid one to beholdmacropod is a splendid one to beholdmacropod is a splendid one to beholdmacropod is a splendid one to beholdmacropod is a splendid one to beholdmacropod is a splendid one to behold
Default

I am not interested in supporting the Microsoft Code. I am content to support my own, superior, code. You also give yourself less chance of solving your problem if you keep switching between methods without focussing on just one and understanding how it works.
__________________
Cheers,
Paul Edstein
[MS MVP - Word]
  #9  
Old 11-28-2015, 11:11 PM
fairchance fairchance is offline Group Category Mail Merge Windows 8 Group Category Mail Merge Office 2010 64bit
Advanced Beginner
Group Category Mail Merge
 
Join Date: Jun 2015
Posts: 55
fairchance can only hope to improve
Default

Sir, I have tried to exercise your second example:
http://prntscr.com/98756k

I can not understand it; i need to get the concept so that i could configure my own documents. This only shows <<representative>> <<sale>> and nothing else. Please see

http://prntscr.com/9875pm
here is the output:
http://prntscr.com/9875tf

Please guide how should configure example no.2

Regards

I need to mention here that I have successfully formatted example no.1 and have no issue about it.
  #10  
Old 11-28-2015, 11:23 PM
macropod's Avatar
macropod macropod is offline Group Category Mail Merge Windows 7 64bit Group Category Mail Merge Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 19,653
macropod is a splendid one to beholdmacropod is a splendid one to beholdmacropod is a splendid one to beholdmacropod is a splendid one to beholdmacropod is a splendid one to beholdmacropod is a splendid one to beholdmacropod is a splendid one to beholdmacropod is a splendid one to behold
Default

Then how about actually reading the tutorial, as you have been advised to do...
__________________
Cheers,
Paul Edstein
[MS MVP - Word]
  #11  
Old 11-28-2015, 11:36 PM
fairchance fairchance is offline Group Category Mail Merge Windows 8 Group Category Mail Merge Office 2010 64bit
Advanced Beginner
Group Category Mail Merge
 
Join Date: Jun 2015
Posts: 55
fairchance can only hope to improve
Default

Sir, what is the purpose of braces [] in code? Can you suggest me what is important thing in example 2 which is missing by me?
  #12  
Old 11-29-2015, 12:12 AM
fairchance fairchance is offline Group Category Mail Merge Windows 8 Group Category Mail Merge Office 2010 64bit
Advanced Beginner
Group Category Mail Merge
 
Join Date: Jun 2015
Posts: 55
fairchance can only hope to improve
Default

Sir, with due respect I am sorry to say that your tutorial is beyond my insight. Can you please guide me about the Microsoft Code which I request earlier showing no result. I shall be highly thankful to you. If I am unable to understand a thing then what should I do. It is my fault to understand but I want to do my assignment at any cost. Please help me Sir.
  #13  
Old 11-29-2015, 12:13 AM
macropod's Avatar
macropod macropod is offline Group Category Mail Merge Windows 7 64bit Group Category Mail Merge Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 19,653
macropod is a splendid one to beholdmacropod is a splendid one to beholdmacropod is a splendid one to beholdmacropod is a splendid one to beholdmacropod is a splendid one to beholdmacropod is a splendid one to beholdmacropod is a splendid one to beholdmacropod is a splendid one to behold
Default

These questions you keep asking are all answered in the tutorial. All you need to do is read it!
__________________
Cheers,
Paul Edstein
[MS MVP - Word]
  #14  
Old 11-29-2015, 03:02 AM
fairchance fairchance is offline Group Category Mail Merge Windows 8 Group Category Mail Merge Office 2010 64bit
Advanced Beginner
Group Category Mail Merge
 
Join Date: Jun 2015
Posts: 55
fairchance can only hope to improve
Default

Dear Sir,

After continuous tries I have find my solutions. Please see the below:

http://screencast.com/t/muuPZ5aAMhKG

Sir, I need your little guidance as I have missing two static words Thanks Management with last records while it is displayed fine with all record except last. Please guide what should I do to get it with the last record.

Regards
  #15  
Old 11-29-2015, 03:20 AM
macropod's Avatar
macropod macropod is offline Group Category Mail Merge Windows 7 64bit Group Category Mail Merge Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 19,653
macropod is a splendid one to beholdmacropod is a splendid one to beholdmacropod is a splendid one to beholdmacropod is a splendid one to beholdmacropod is a splendid one to beholdmacropod is a splendid one to beholdmacropod is a splendid one to beholdmacropod is a splendid one to behold
Default

Quote:
Originally Posted by fairchance View Post
Please guide what should I do to get it with the last record.
Read the tutorial - it's all explained in there.
__________________
Cheers,
Paul Edstein
[MS MVP - Word]
Closed Thread

Tags
mail merge

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Group Category Mail Merge Mail Merge - Send Each Category to a New Page cjw Mail Merge 2 10-23-2014 01:25 PM
How to group with mail merge pintail Mail Merge 1 05-28-2014 03:17 PM
Group Category Mail Merge How to use mail merge to create a list sorted by category in Word elisa2013 Mail Merge 5 03-14-2014 02:35 AM
Group Category Mail Merge Need advice on category sorted e-mail merge GeoB Mail Merge 3 09-08-2011 11:03 PM
Where is the category or distribution list or group as I add new e-mail address? Jamal NUMAN Outlook 0 11-21-2010 07:34 PM


All times are GMT -7. The time now is 12:41 PM.


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