Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Closed Thread
 
Thread Tools Display Modes
  #1  
Old 06-11-2014, 05:41 PM
macropod's Avatar
macropod macropod is offline How to staple mail merged documents Windows 7 32bit How to staple mail merged documents Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,365
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

To do that, you would need to send each merged document to the printer as a separate print job. For that, you could use a macro such as:
Code:
Sub Merge_To_Individual_Print_Jobs()
'Merges one record at a time to the printer
Application.ScreenUpdating = False
Dim i As Long
With ActiveDocument
  For i = 1 To .MailMerge.DataSource.RecordCount
    With .MailMerge
      .Destination = wdSendToPrinter
      .SuppressBlankLines = True
      With .DataSource
        .FirstRecord = i
        .LastRecord = i
        .ActiveRecord = i
      End With
      .Execute Pause:=False
    End With
  Next i
End With
Application.ScreenUpdating = True
End Sub

__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
  #2  
Old 06-12-2014, 12:16 AM
jopegk jopegk is offline How to staple mail merged documents Windows 7 64bit How to staple mail merged documents Office 2010 64bit
Novice
How to staple mail merged documents
 
Join Date: Jun 2014
Posts: 6
jopegk is on a distinguished road
Default

Thanks, macropod!

It seems to work, but I get a message from Visual Basic that says that something is wrong ("Runtime error '5853': Invalid parameter."). Is that a problem?
Closed Thread



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to staple mail merged documents Align Mail Merged Numbers to the Decimal Point HangMan Mail Merge 1 12-11-2013 02:32 PM
Insert Text between Mail Merged Items kawirider88 Mail Merge 1 09-29-2013 06:55 PM
saving a mail merged document after the user edits it. kosh2 Mail Merge 0 08-05-2011 03:35 AM
How to staple mail merged documents Overlapping text once mail merged Spartan300 Mail Merge 6 10-13-2010 06:14 PM
How to staple mail merged documents No toggle b/w 2 accounts; mail merged in 1 inbox Windwardman Outlook 1 06-09-2010 09:25 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 03:27 AM.


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