Excel to MS word

I want to create id card for multiple employees, i have record of employee in excel and i make id card format in MS word like below
image

can anyone plz tell me how i do this ex. in id card after name type employee name then enter ID no likewise

Hi @Yogita_Gaikwad1

Please go through this video might helps!!

Regards,

  1. Use Read Text activity inside Word Application Scope activity to read the data from word file.
  2. And then pass the data to Generate DataTable activity to convert string to DataTable.
  3. Finally use Write Range activity and pass above output DataTable to write into Excel file.

Hope it helps

Hi @Yogita_Gaikwad1

Try below steps:

  1. Create one word template file. Write some dummy text in place of text you want to update it from Excel file.
  2. Next use Read Range activity to read the text Excel file and it will give output as DataTable.
  3. Then use For Each Row activity to iterate DataTable.a. Use Copy File activity to copy word template to some location.b. Then use Replace Text activity and replace that dummy text with Excel file data and this activity should be inside Word Application Scope activity.

I did that as screenshot in for each data table

image

but for second time it only save as pdf not replace record which is in excel

image

image

see the file saves with different name but record is same for all pdf shown in screenshot where i have 10 records in excel file and i want to replace all records one by one

Hi @Yogita_Gaikwad1

Have you tried it? Uncheck the Auto save option

If it is not working.Place the Word Application Scope in For each row in datatable activity

can u tell me how to replace picture using below activity
image

how should i use it for multiple picture for id card generation

@Yogita_Gaikwad1
Right click on Picture then click on View Alt Text then use that word

can u tell me I have multiple images in folder & I want to replace img as per id card details using for each data table then how i do it

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.