This maybe a start
Sub CallTest()
Dim i As Integer
For i = 1 To 5
Test (i)
Next i
End Sub
Sub Test(ByVal iRow As Integer)
Dim WordApp As Object
Set WordApp = CreateObject("Word.Application")
With WordApp
.Documents.Open "C:\Test.doc"
.Visible = True
.ActiveDocument.FormFields("Field0").Result = Range("A" & iRow).Value
.ActiveDocument.FormFields("Field1").Result = Range("B" & iRow).Value
.ActiveDocument.FormFields("Field2").Result = Range("C" & iRow).Value
.ActiveDocument.FormFields("Field3").Result = Range("D" & iRow).Value
.ActiveDocument.SaveAs ("C:\TestRow" & iRow & ".doc")
.ActiveDocument.Close
End With
WordApp.Quit
Set WordApp = Nothing
End Sub
Bookmarks