Sub ExportToWord()
'Note: A reference to the Word library must be set, via Tools|References
Dim wApp As New Word.Application, wDoc As Word.Document
Dim xlwkBk As Workbook, xlSht As Worksheet
Dim sPath As String, sName As String
Set xlwkBk = ActiveWorkbook: Set xlSht = xlwkBk.ActiveSheet
'Set the save path to the workbook's folder and the save name to the value of A1 in the active sheet
sPath = xlwkBk.Path & "\": sName = xlSht.Range("$A$1").Value
With wApp
.Visible = True
'Create a new Word document from a suitable template
Set wDoc = .Documents.Add(Template:="Template path & name", Visible:=True)
xlSht.Range("$A$1:$J$10").Copy
With wDoc
'Paste some Excel data at the designated bookmark
.Bookmarks("My Bookmark").Range.Paste
' Save & close the output document
.SaveAs Filename:=sPath & sName & ".docx", FileFormat:=wdFormatXMLDocument, AddToRecentFiles:=False
' and/or:
.SaveAs Filename:=sPath & sName & ".pdf", FileFormat:=wdFormatPDF, AddToRecentFiles:=False
.Close SaveChanges:=False
End With
End With
Set wDoc = Nothing: Set wApp = Nothing: Set xlSht = Nothing: Set xlwkBk = Nothing
End Sub