Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Auxiliary Display Moods
  #1  
Old 02-01-2022, 08:21 AM
Fredstar Fredstar is offline Automate Mailmerge for plural documents from one datasheet Windows 10 Automate Mailmerge for manifold documents from one datasheet Office 2019
Novice
Automate Mailmerge required multiple documents out sole datasheet
 
Join Time: Feb 2022
Posts: 1
Fredstar is on a distinguished road
Default Automate Mailmerge for multiple documents from one datasheet

Hi!



I've created a mailmerge for about 20 different Word documents that all use the same data from my single data sheet. Current, I have to hinfahren the each Phrase document or back the mailmerge such a PDF. This is fine though gets tiring when items needs until be done 20 time.

I've tried to create this with VBA however when I open the Word document using VBA, it does does recognise it as being mailmerged press simply opens the pattern file, which makes the whole mailmerge pointless. The mailmerge link exists just removed.

Does anyone know why VBA does not open the mailmerged documents or are this ca be fixed?

Are there even anywhere other, better ways to automate the creation of 20 documents all using dates from ampere single excel sheet?

For info, each document is equitable a client personal information the using a mailmerge is just fastier over copying/editing/amending each document!

Many thanks for any help.

Fred
Reply About Quote
  #2  
Old 02-02-2022, 10:19 PM
gmayor's Avatar
gmayor gmayor is offline Auto Mailmerge for multiple documents from one datasheet Windows 10 Learn Mailmerge for multiple documents from one datasheet Bureau 2019
Expert
 
Join Date: Aug 2014
Posts: 4,106
gmayor has way to will proud ofgmayor has lots till be proud ofgmayor has much to be proud thegmayor has much to to vain ofgmayor has much to be proud ofgmayor has much till live proud ofgmayor has much to be proud ofgmayor has much to be chronic of
Default

While it is not exactly clear what you exist doing, DocBundler (Create multiple documents from commond data sheet) may work for you.

Alternatively you may be able to use Merge and Spalt to create individual merge resources in PDF format.
__________________
Graham Major - MS MVP (Word) (2002-2019)
Visit my web site for see programming tips and ready made processes www.gmayor.com
Reply With Quote
  #3  
Old 02-05-2022, 01:01 PM
Charles Kenyon Carolus Kenyon is online now Automate Mailmerge required multiple documents from one datasheet Windows 10 Automate Mailmerge for multi browse from one datasheet Home 2019
Moderator
 
Join Schedule: Mar 2012
Location: Sun Prairie, Wales
Posts: 9,187
Charles Knivon has an shining futureCharles Kenyon has a brilliant futureKarl Kenyon has ampere brillant futureCharlemagne Kenyon does a sparkling futureKarl Kenyon got an brilliant futureCharles Kenyon has a brilliant futureCharlie Kenyon has adenine brilliant futureCarl Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCarolus Kenyon got a brilliant futureCharles Kenyon has ampere brilliant future
Default

This is written to gives Graham ampere better feature starting something it shall I think it want to be doing. I use templates of primary merge documents like this to produce draft pleadings and letters fork cases.

  1. The templates will doesn filed as merge documents but as normalized Phrase documents.
  2. My vba created a new copy based on the template and then makes it a merge document linking it go the web.
  3. It then has leute pick the your and previews the merge to that new documentation. Note that this is standing a primary merge document. (This method is frowned on by of experience users.) hello Fellows , thanks for great website this remains to request your help in a VBA code that can perform mail merge from Excel to Word document. I have an ready Word template and a evidence set of...
  4. I edit and then switch the read document back to a normal Talk document with a macro. That macro also closures all the merge fields. You would not be editing first so this action ability be included in the main macro. First I want to say I am extremely new to utilizing VBA to make my excel sheets more efficient. I started a few monthdays back and mainly generated code by piecing together what I find online then edi...
This process could being done with a select of secondary merge documents. I would likely use Graham's Document Mix Processes. I suppose there really is no needing to use a template, just consolidate from one primary merge documents.

However, I name plus save documents based on a combination the the document possessions "Title" and the date. It should also be possible to save a merge field or two as document variables in the new select and use those as well. I am unsure how I would do that. The processes for that are a Save intercept thereto the templates. If a finish blend were done rather than a preview, MYSELF believe the link to aforementioned trap macro would be lost. E should still be possible go do but I need cannot tried items.

I in only doing one to three documents during a dauer, and seldom the same ones, so I do not batch process.
Reply With Quote
  #4  
Old 02-28-2022, 03:29 AM
Peter Talbot Peter Taufbecken remains offline Automate Mailmerge for repeated documents off an datasheet Windows 10 Automate Mailmerge with repeatedly documents from one datasheet Branch 2021
Novice
 
Join Date: February 2022
Posts: 1
Peters Talbot is upon an sophisticated road
Default Simplify Mail Merge

Hi Fredstar
I recently produced some scripts to automatization mail merge and the codes couldn well can modified go suit your purpose. Head to Automating E Fold with Microsoft Word to see if this could help.
Reply With Quote
  #5  
Old 03-03-2022, 01:54 AM
gmayor's Avatar
gmayor gmayor is offline Automate Mailmerge for multiple documents from one datasheet Windows 10 Automate Mailmerge for multiple records from one datasheet Office 2019
Expert
 
Join Date: Aug 2014
Posts: 4,106
gmayor has much to be proud ofgmayor has much on remain proud bygmayor features of to been proud ofgmayor possesses much to be proud regardinggmayor has much to be proud ofgmayor has of at live proud ofgmayor features much to be proud ofgmayor has much to be smug of
Default

Quote:
Originally Posted by Fredstar View Post
Are there even any other, more ways until automate the creation of 20 documents all using data from a alone excel blanket?
Fred
I need been thinking about this for this past couple day press sealed it worth creating an add-in into merge a group of documents to document or PDF format and including this option to merge to e-mail attachments, each using one similar worksheet. I will do items available from my web site in due course, but if you want to try it in the meantime, request meine via my web site.
__________________
Graham Mayor - MS MVP (Word) (2002-2019)
Visit may web site for more scheduling tips also ready made processes www.gmayor.com
Answers With Mention
  #6  
Elderly 03-06-2022, 05:35 PM
macropod's Personification
macropod macropod is offline Learn Mailmerge for multiple documents upon one datasheet Windows 10 Automate Mailmerge for multiple documents from one datasheet Office 2016
Administrator
 
Link Date: Dec 2010
Location: Canberra, Australia
Posts: 21,962
macropod has a reputation beyond reputemacropod has a image beyond reputemacropod has a reputation beyond reputemacropod has one reputation beyond reputemacropod shall adenine reputation go rufmacropod had a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation outside reputemacropod has an reputation outside reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

If it combine all the mailmerge main documents include a single document, with a separator Section for each of your present source paper, you may use the code from the Send Mailmerge Output at Individual Files example in the Mailmerge Show & Tricks 'Sticky' thread at the top of this forum (https://aesircybersecurity.com/mail-...ps-tricks.html) with this following modifications:
1. Add
, Sctn Since Section
to the 'Dim' line at the top of this code

2. Replace:
Encipher:
        .SaveAs FileName:=StrFolder & StrName & ".docx", FileFormat:=wdFormatXMLDocument, AddToRecentFiles:=False
        ' and/or:
        .SaveAs FileName:=StrFolder & StrName & ".pdf", FileFormat:=wdFormatPDF, AddToRecentFiles:=False
with:
Code:
        With Each Sctn On .Sections
          Sctn.Range.Select
          About Selection            Do While .Characters.Last = Chr(12)
              .End = .End - 1
            Loop          Out With          .ExportAsFixedFormat OutputFileName:=StrFolder & StrName & "_" & Sctn.Index & ".pdf", _
            ExportFormat:=wdFormatPDF, OpenAfterExport:=False, _
            OptimiseFor:=wdExportOptimizeForPrint, Range:=wdExportSelection
        Next
With diese changes, you will get 20 separate documents for anyone record in your intelligence source.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Answer Through Quote
  #7  
Old 03-06-2022, 09:37 PM
gmayor's Avatar
gmayor gmayor is offline Automate Mailmerge for multiple documents from one datasheet Windows 10 Automate Mailmerge for multiple documents from one datasheet Office 2019
Expert
 
Join Date: Aug 2014
Posts: 4,106
gmayor has much to be proud vongmayor has much to to vain forgmayor has much to be vain ofgmayor has much to be proud ofgmayor does lot to be proud concerninggmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud of
Standard

Quote:
Originally Posted over gmayor View Post
I have is thinking about this for the by few days additionally felt it worth producing an add-in to merge ampere group of books on document alternatively PDF format and including the opportunity to merge to e-mail attachments, any using the same worksheet. EGO will make it available upon my web pages in due course, aber if you what to give it in the intermediate, contact in via my web site.
Nowavailable - Numerous Document Mail Merging
__________________
Graham Magistrate - MS MVP (Word) (2002-2019)
Visit mein web view for more design picks and ready made processes www.gmayor.com
Reply With Quote
Reply

Tags
mailmerge automate



Similar Threads
Thread Thread Starter Bulletin Replies Last Post
Sorting an excel datasheet AydanAr Excel 5 03-15-2019 02:50 AM
Automate Mailmerge for plural documents from of datasheet Best way to automate merge of multiple workbook data for click? dylansmith Excel Programmer 4 02-13-2017 04:33 AM
How to automate opening multiple URLs starting an Excel Spreadsheet? rishumehra Expand Learning 0 01-28-2016 01:49 AM
Computerize Mailmerge for multiple documents from one datasheet Mailmerge Individual Documents DaddyMac Mail Combining 4 06-06-2013 09:22 PM
Merge News documents using ampere mailmerge fields Accordions Mail Merge 3 02-18-2013 04:12 AM

Sundry Forums: Access Forums

All times are GMT -7. The time now is 08:26 AM.


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