Suggest a method to do it.
you can follow these steps:
- Configure the Open Application activity to open Microsoft Word.
- Add a Click activity to click on the
Insert
tab in Word. You can use theIndicate on screen
option to select theInsert
tab. - Use another Click activity to click on the
Footer
button in theHeader & Footer
group. - Add a
Type Into
activity to enter editing mode for the footer. You can use theIndicate on screen
option to select the footer area. - Use a Type Into activity to type the desired text in the footer. To add the current date,
DateTime.Now.ToString("dd.MM.yyyy")
- Add a Send Hotkey activity to exit the footer editing mode. Use the
Enter
key as the hotkey. - Finally, add a Click activity to save the Word document. You can use the
Ctrl + S
hotkey to save it.
Regards
Gokul
Hello @Gopikrishna_S
Try this
- In a Word document, Enter the specific unique name in the footer where need to enter the Date as manually. Like"TodayDate"
- Use the Word application scope and pass the path of the Word document.
- Use Replace Text in Document activity in it. In Seach for type the “TodayDate” name or other specific unique name mentioned in the footer.
3.1 Replace with- Provide the date condition with desired format example
DateTime.Now.ToString("yyyy-MM-dd")
3.2 Check the “Replace all” option to change the all-match case with a date.
4. For more, refer to the screenshot attached below.
Regards,
Gokul Jayakumar
I also got the Solution in this way only. thank you @Gokul_Jayakumar
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.