Home |
Search |
Today's Posts |
|
#1
![]() |
|||
|
|||
![]()
I need help. I created a mail merge table for a form. However, I need to
save the individual forms as the data in each is different for each form. How is this done? |
#2
![]() |
|||
|
|||
![]()
If you execute the merge to a new document and then run the following macro
when that document is the active document, it will save each report with the name Report# Sub splitter() ' splitter Macro ' Macro created by Doug Robbins to save each letter created by a mailmerge as a separate file. Dim i As Long, Source as Document, Target as Document, Letter as Range Set Source = ActiveDocument For i = 1 to Source.Sections.Count Set Letter = Source.Sections(i).Range Letter.End=Letter.End-1 Set Target = Documents.Add Target.Range=Letter Target.SaveAs FileName:="Report" & i Target.Close Next i End Sub -- Please respond to the Newsgroup for the benefit of others who may be interested. Questions sent directly to me will only be answered on a paid consulting basis. Hope this helps, Doug Robbins - Word MVP "School Daze" School wrote in message ... I need help. I created a mail merge table for a form. However, I need to save the individual forms as the data in each is different for each form. How is this done? |
Reply |
Thread Tools | |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Mail Merge Word 2003 Issue | Mailmerge | |||
Mail Merge Toolbar Disabled | Mailmerge | |||
Mail merge toolbar unavailable after SP3 | Mailmerge | |||
Mail Merge Problem | Mailmerge | |||
Using Hyperlinks in Mail Merge IF...THEN...ELSE Statements | Mailmerge |