#Define wdNormalView 1 #Define wdOutlineView 2 #Define wdPrintView 3 #Define wdPrintPreview 4 #Define wdMasterView 5 lcTemplate = 'c:\temp\master.doc' lcDoc1 = "c:\temp\w1.doc" lcDoc2 = "c:\temp\w2.doc" lcDoc3 = "c:\temp\w3.doc" oWord=Createobject('Word.Application') With oWord .DisplayAlerts = .F. *!* .Documents.add(m.lcTemplate) .Documents.Add With .ActiveDocument .ActiveWindow.ActivePane.View.Type = wdMasterView .Subdocuments.AddFromFile(m.lcDoc1) .Subdocuments.AddFromFile(m.lcDoc2) .Subdocuments.AddFromFile(m.lcDoc3) .ActiveWindow.View.Type = wdPrintView Endwith .Visible = .T. Endwith * or oWord=Createobject('Word.Application') With oWord .DisplayAlerts = .F. .Documents.Add(m.lcTemplate) With .ActiveDocument .Bookmarks("doc1").Range.InsertFile(m.lcDoc1) .Bookmarks("doc2").Range.InsertFile(m.lcDoc2) .Bookmarks("doc3").Range.InsertFile(m.lcDoc3) Endwith .Visible = .T. EndwithCetin