![]() |
|
|
|
#1
|
||||
|
||||
|
If the data sheet was viable (It has an incompatible ROW1 and several empty rows after the sixth record) and you remove the unassociated field from the document then save it as a DOCX format (see attached) the code I posted works without problem. See attached. You'll need to reattach the data file.
Run the code from your normal template.
__________________
Graham Mayor - MS MVP (Word) (2002-2019) Visit my web site for more programming tips and ready made processes www.gmayor.com |
|
#2
|
|||
|
|||
|
I am still having some trouble. I have had 2 outcomes:
1. When I first connect the data source and run the macro I have to run it 3-4 times and it either exports 1,2 or 3 files (screen recording attached) 2. When I delete those saved files from the folder (Created above) and I run the macro, I can see the preview of the file exporting all of the different data and saving the file on top of itself (screen recording attached), so I only end up with one file. Any thoughts on why this might be? |
|
| Tags |
| mail merge, mail merge code, mail merge saving |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
How to mail merge next record on same page to save paper
|
klc9761 | Mail Merge | 1 | 04-22-2017 02:29 PM |
Showing record number during mail merge
|
catflap | Mail Merge | 1 | 04-13-2017 07:32 AM |
Mail Merge Next Record If rule
|
RHensley | Mail Merge | 10 | 03-07-2017 08:05 AM |
Automate daily mail merge
|
JCInfo | Mail Merge | 4 | 12-02-2013 05:12 PM |
| avoid duplicete record and merge the record with the existed record | hemant.behere | Excel | 0 | 01-10-2012 02:53 AM |