Formatting in word file

Hi All,

I need to put some data in word but its giving space like:-
For Example:- Below screen showing space between lines.
image

But I need no space in between lines like:-
image

Please suggest how to remove space between lines. and I am currently using word scope application and append text one by one put data in word file.

@shuklarchana001

Try removing this option to add newline

Hope this helps

Cheers

This is not removing space between lines

@shuklarchana001

Then try like this

Concatenate the lines in UiPath only using environment.Newline and at the end use appendtext and add all the text to document only one

Your assign activity looks like this…instead of append text in loop you can add this assign and after loop use append text once

Initialize dtr with string.empty

Str = str + If(str.Equals(string.Empty),String.Empty,Environment.NewLine) + NewTextValue

Hope this helps

Cheers

Still not working

@shuklarchana001

Did you try to use single append text only?

cheers

Yes, It is concatenate the all string

@shuklarchana001

Add a identifier like <TEXT> in word doc and use replace text instead of append text and check

Cheers