Good morning.

I have put together some syntax to attempt to run a mail merge from data in my Excel Workbook into Word. I have generated a .doc template with the field names and when I execute this line in my Excel VBA I get an error of o
This method or property is not avaliable because the document is not a mail merge main document

    With docMain.MailMerge
        .Execute
    End With
What do I need to change in my .doc so that it will work as a mail merge template?