Entering the values in word document

Hi, i have a scenario where bot has to enter the values in word document… I tried to use type into & set text activity but it is not working

Please suggest an approach to above scenario…

Hi @Somanath_Somu

Download UiPath.Word.Activities Package

I hope it helps!!

@Somanath_Somu

Use word activities(UiPath.word.activities) or use append text(system activity)
image

@Somanath_Somu

Word Application Scope:
Use the “Indicate on Screen” feature to indicate the Word document you want to work with.

Replace Text in Document:
Use this activity to enter values at a specific position in the Word document.

Save Document activity:
Use this activity to save the changes made to the Word document.

Close Document activity:
Use this activity to close the Word document.

Hi @Somanath_Somu

Install UiPath.word.Activities.

Use “Word Application Scope” activity
The Find and Replace activity can be used to find and replace text in a Word document

Hope it helps!!

Hi @Somanath_Somu

For using the word activities you have to install the UiPath.word.activities package.
After Install the package you find the word activities in activities panel.

=> Use word application scope then inside this activity use word activities.
=> Use append text activity to write the data in the existing word document.
=> Use replace text in document activity to replace the text with your data in the word document.

Check the below image for better understanding.
To Install the UiPath.Word.Activities package.
image

Hope it helps!!

Find the attached screen shot fyr…


I need to fill the details in this template like first name, last name… Even click is not working

Hi @Somanath_Somu

  1. Use “Use application/Browser” activity and open the website.
  2. Extract all the text one by one using “Get Text” activity and store each in an separate variable.
  3. Use Word Application Scope and indicate the file.
  4. Use “Replace Text in Document” activity and specify each variable to the place where you want to write the extracted text.
  5. Use “Save Document As” activity to save the word file. Remove Replace Existing option so that it creates an new file.

Hope it helps!!
Regards,

Hi @Somanath_Somu

Read the input excel and store it in datatable.
In manage package download word package:
Take for each row in datatable
Use word application scope ,Give the path of the word document
Use the replace text in document activity to place the data in the word
Use “save document as” and save the docx as using the unique name.
Use save “save document as pdf” to save the word file as pdf.

Hope it helps!!

Am not replacing any text, i just need to enter the values in the empty fields

@Somanath_Somu

Use Set bookmark content activity in your workflow, For your Understanding what this activity is please watch this vedio,hope it will help you

Thanks for the video.
But if i want to check the boxes, any activities or videos available to refer… Because click & check activities are not working

Hi @Somanath_Somu ,

Is it possible to provide us with the Sample Word document ? So that we can check if we can suggest you with other alternatives after testing it from our end.