How to read Text Box content from docx file?

Hello,
I’m trying to read a docx document with some text boxes inside.
However when I read the document using UiPath.Word.Activities.WordReadText, the result lacks the content of the text boxes.

For example, attached are:

A sample docx which contains a text box:
tmp.docx (14.8 KB)

A sample xaml which reads the docx and outputs the result to a message box and to a txt file:
Main.xaml (7.3 KB)

A screenshot of the xaml:

I’ll be very thankful to have any advice about a possible solution.

Thank you, Udi

Hello @Udiar
Kindly use Read text of Word document instead of Word application scope, you will get the expected output

Forum_MSword.xaml (6.4 KB)

image

image
image

You are right! Thank you so much !!!
Have a wonderful day :slight_smile:

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