Write text (green flag)

I read data from excel
but after write data. number have green flag.

image

Please guide me for solve it.

Hi @Stef_99

Use Format Cells activity to convert it into number format

Regards,

@Stef_99
Enable preserve format in Read range workbook

@Stef_99

When a value is written on to excel and if a number is written as text then you see that flag symbol

Either write by first converting the column to integer in datatable itself or another way is to use format cells and change the details

Cheers

@Anil_G how to​ converting the column to integer in data​table?

HI,

How did you read and write it? Can you share your current workflow, if possible?

Regards,

1 Like

@Stef_99

You need to add a new column as integer and cast each value to integer…and then remove the old column

Cheers

@Yoichi Sourcecode and sample file as attached.

Sample.xaml (10.3 KB)

Report.xlsx (10.2 KB)
input11.xlsx (11.7 KB)

HI,

Can you try to unchck PreserveFormat option. If this option is enabled, ReadRange activty reads data as String.

Sample
Sample20240731-3.zip (38.3 KB)

Regards,

@Yoichi I uncheck PreserveFormat option already.
but number 0 not write - follow file original.

image

HI,

It’s cell format matter. Can you try to copy cell format to target area as the following, for example. Or set proper cell format in advance.

Sample
Sample20240731-3 (2).zip (40.1 KB)

Regards,

@Yoichi I follow your suggest.
But I have a question in destination E11.
I want fix position but I want depend from file last row.

image

Can you suggest about it?

Hi,

For examlpe, use FindFirst/Last DataRow activity, as the following.

Sample
Sample20240731-3 (3).zip (38.0 KB)

1 Like

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