Write Text to Word goes wrong

image
above is the dialog shows when i open my word. what happened? anyone encounter the same issue?

I used this activity to write into word:
image

Hi,

You need to use Append Text Activity in Word Activities Package instead of Write Text File Activity if you want to add text to docx file.

Regards,

1 Like

@pitaty

If you want to write any text into word file then use Append Text activity. And also note this activity should be inside Word Application Scope activity.

image
but there’s no Word Application Scope activity, do i need to add a package?

i added a package for word. Another thing i want to know about “Write Text File”, what file type is suppoort without scope, TXT? also, about encoding property, can i leave it as blank?

@pitaty

Write Text activity will write into TXT files but not word files and all.

You have to install uipath.word.activities to automate word applications.

image
image
above error shows when i use Append Text to write into word. Do you know why?

@pitaty

Please check below thread.

https://docs.uipath.com/activities/docs/word-append-text

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