A family of Microsoft word processing software products for creating web, email, and print documents.
Thanks! I can really use this!
Regards,
Tobey
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
I created a mail merge using Word 2010. It is several documents combined into one large Word file with section breaks. It is many pages long.
I need to convert it into individual pdf documents. I have used the vba code bleow with pdf creator with some success. I now need to do the same thing with E-Copy 5.3
Sub SplitMergeLetterToPrinter()
Dim Letters As Long, Counter As Long
Letters = ActiveDocument.Sections.Count
'MsgBox "Sections counted = " & Letters
Counter = 1
While Counter < Letters
ActiveDocument.PrintOut Background:=False, Range:=wdPrintFromTo, _
From:="s" & Format(Counter), To:="s" & Format(Counter)
Counter = Counter + 1
Wend
End Sub
A family of Microsoft word processing software products for creating web, email, and print documents.
Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.
Thanks! I can really use this!
Regards,
Tobey
Sorry, Henry, it does not work on a Mac and I do not know anything about Macs.
You can download the MergeTools – 20130627 Add-in that I created from the following page of my Windows Live SkyDrive:
Save the file in the Word Startup folder. In Windows XP the default location for that folder is
C:\Documents and Settings[User Name]\Application Data\Microsoft\Word\STARTUP
In Windows Vista and Windows 7, it is
C:\Users[User Name]\AppData\Roaming\Microsoft\Word\STARTUP
When you have done that, the tab shown below will be added to the Ribbon:
![]()
The Merge to Individual Docs facility on that tab of the ribbon has the ability to create those documents in pdf format.
One thing to note is that the field names in your data source must contain only alphanumeric characters (No @,#,$,%,&,(,), etc) and the field names must not start with a numeric character (0-9).
Hi Doug,
Does it work in Office for Mac? I understand the codes will be a bit different.
I am a newbie to Macros. Could you tell me the differences in the Mac platform that I need to pay attention to?
Henry
I have made some updates to it and the current version is 20150309.
In recent posts, I have also expanded the notes on its use.
The requirements for using the system are:
For a data source in the form of an Excel worksheet, the data must start in the second row of the worksheet and there should be no empty rows within the range of data that is to be processed.
Doug
"You can download the MergeTools – 20130627 Add-in that I created from the following page of my Windows Live SkyDrive:"
It's now [24th March 2015] dated "20150309"
David