If you are getting that message, the data source must have been moved.
If you put all of the "Mail Merge templates" in a separate folder and
navigate to that folder when you run the following macro, it should do what
you want.
Dim MyPath As String
Dim MyName As String
Dim MMMainDoc As Document
'Suppress the display of alerts
Application.DisplayAlerts = wdAlertsNone
'let user select a path
With Dialogs(wdDialogCopyFile)
If .Display() <> -1 Then Exit Sub
MyPath = .Directory
End With
'strip quotation marks from path
If Len(MyPath) = 0 Then Exit Sub
If Asc(MyPath) = 34 Then
MyPath = Mid$(MyPath, 2, Len(MyPath) - 2)
End If
'get files from the selected path and change the type
MyName = Dir$(MyPath & "*.*")
Do While MyName <> ""
Set MMMainDoc = Documents.Open(MyPath & MyName)
MMMainDoc.MailMerge.MainDocumentType = wdNotAMergeDocument
MMMainDoc.Save
MMMainDoc.Close
MyName = Dir
Loop
Application.DisplayAlerts = wdAlertsAll

Signature
Hope this helps.
Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.
Doug Robbins - Word MVP
>I have hundreds of Mail Merge templates which use a text file in a given
> directory.
[quoted text clipped - 27 lines]
>
> Any suggests will be gratefully received.
newschapmj1 - 09 May 2006 11:51 GMT
Thanks
Application.DisplayAlerts = wdAlertsNone was really useful.