Yes you need to put targets (bookmarks, table cells, content controls) in your target document template. Lets say you rename LaborAuthorizationForm.docm as LaborAuthorizationForm.dotm and in it you have a content control titled "Employee Name"
Replace MsgBox EmpNameList.List(lngIndex, 0)
oDoc.SelectionContentControlsByTitle("Employee Name").Item(1).Range.Text = EmpNameList.List(lngIndex, 0)
|