You have one excel file with below information and 1 word file NAMEWORD.docx as template. Now find and replace below data and create a word file from each row in excel sheet
HTML:
[RANGE=cls:xl2bb-100][XR][XH=cs:14]Excel 2007[/XH][/XR][XR][XH][/XH][XH]A[/XH][XH]B[/XH][XH]C[/XH][XH]D[/XH][XH]E[/XH][XH]F[/XH][XH]G[/XH][XH]H[/XH][XH]I[/XH][XH]J[/XH][XH]K[/XH][XH]L[/XH][XH]M[/XH][/XR][XR][XH]5[/XH][XD=h:r][/XD][XD=h:c]Do all find and replace in NAMEWORD.docx[/XD][XD=h:c][/XD][XD=h:c][/XD][XD=h:c][/XD][XD=h:c][/XD][XD=h:c][/XD][XD=h:c][/XD][XD=h:c][/XD][XD=h:c][/XD][XD=h:c][/XD][XD=h:c][/XD][XD=h:c][/XD][/XR][XR][XH]6[/XH][XD=h:l|fw:b]Create File Name and Save as[/XD][XD=h:l|fw:b]Find 1[/XD][XD=h:l|fw:b]Replace 1[/XD][XD=h:l|fw:b]Find 2[/XD][XD=h:l|fw:b]Replace 2[/XD][XD=h:l|fw:b]Find 3[/XD][XD=h:l|fw:b]Replace 3[/XD][XD=h:l|fw:b]Find 4[/XD][XD=h:l|fw:b]Replace 4[/XD][XD=h:l|fw:b]find image 1[/XD][XD=h:l|fw:b]Replace image/name1[/XD][XD=h:l|fw:b]Find 5 (Header Text)[/XD][XD=h:l|fw:b]Replace 5 (Header Text)[/XD][/XR][XR][XH]7[/XH][XD=h:l]CreateWord File NAME1.docx[/XD][XD=h:l]Find 1[/XD][XD=h:l]Replace 1[/XD][XD=h:l]Find 2[/XD][XD=h:l]Replace 2[/XD][XD=h:l]Find 3[/XD][XD=h:l]Replace 3[/XD][XD=h:l]Find 4[/XD][XD=h:l]Replace 4[/XD][XD=h:l]find image 1[/XD][XD=h:l]Replace image/name1[/XD][XD=h:l]Find 5 (Header Text)[/XD][XD=h:l]Replace 5 (Header Text)[/XD][/XR][XR][XH]8[/XH][XD=h:l]CreateWord File NAME2.docx[/XD][XD=h:l]Find 1[/XD][XD=h:l]Replace 1[/XD][XD=h:l]Find 2[/XD][XD=h:l]Replace 2[/XD][XD=h:l]Find 3[/XD][XD=h:l]Replace 3[/XD][XD=h:l]Find 4[/XD][XD=h:l]Replace 4[/XD][XD=h:l]find image 1[/XD][XD=h:l]Replace image/name2[/XD][XD=h:l]Find 5 (Header Text)[/XD][XD=h:l]Replace 5 (Header Text)[/XD][/XR][XR][XH]9[/XH][XD=h:l]CreateWord File NAME3.docx[/XD][XD=h:l]Find 1[/XD][XD=h:l]Replace 1[/XD][XD=h:l]Find 2[/XD][XD=h:l]Replace 2[/XD][XD=h:l]Find 3[/XD][XD=h:l]Replace 3[/XD][XD=h:l]Find 4[/XD][XD=h:l]Replace 4[/XD][XD=h:l]find image 1[/XD][XD=h:l]Replace image/name3[/XD][XD=h:l]Find 5 (Header Text)[/XD][XD=h:l]Replace 5 (Header Text)[/XD][/XR][XR][XH]10[/XH][XD=h:l]CreateWord File NAME4.docx[/XD][XD=h:l]Find 1[/XD][XD=h:l]Replace 1[/XD][XD=h:l]Find 2[/XD][XD=h:l]Replace 2[/XD][XD=h:l]Find 3[/XD][XD=h:l]Replace 3[/XD][XD=h:l]Find 4[/XD][XD=h:l]Replace 4[/XD][XD=h:l]find image 1[/XD][XD=h:l]Replace image/name4[/XD][XD=h:l]Find 5 (Header Text)[/XD][XD=h:l]Replace 5 (Header Text)[/XD][/XR][XR][XH]11[/XH][XD=h:l]CreateWord File NAME5.docx[/XD][XD=h:l]Find 1[/XD][XD=h:l]Replace 1[/XD][XD=h:l]Find 2[/XD][XD=h:l]Replace 2[/XD][XD=h:l]Find 3[/XD][XD=h:l]Replace 3[/XD][XD=h:l]Find 4[/XD][XD=h:l]Replace 4[/XD][XD=h:l]find image 1[/XD][XD=h:l]Replace image/name5[/XD][XD=h:l]Find 5 (Header Text)[/XD][XD=h:l]Replace 5 (Header Text)[/XD][/XR][XR][XH]12[/XH][XD=h:r][/XD][XD=h:r][/XD][XD=h:r][/XD][XD=h:r][/XD][XD=h:r][/XD][XD=h:r][/XD][XD=h:r][/XD][XD=h:r][/XD][XD=h:r][/XD][XD=h:r][/XD][XD=h:r][/XD][XD=h:r][/XD][XD=h:r][/XD][/XR][XR][XH=cs:14][RANGE][XR][XD]Sheet6[/XD][XH][/XH][/XR][/RANGE][/XH][/XR][/RANGE]
Last edited: