I have extracted values from a pdf through regex, all the details coming in different cells (1,21,2)(15,14,12). I want to sort the data in ascending order in all the cells of their rows.
Hey @Rakesh_Yadav
Make sure you sort it before the write it in the excel.
What is the type of data variable you have before writing to excel?
Could you please confirm
#nK
system.collection.generic.IEnumerable<system.Text.RegularExpressions.Match>
Could you please share your workflow or the screenshot of the place where you write it to excel?
That is the place to add a small change over there.
Thanks
#nK
Hi @Rakesh_Yadav ,
You can use below invoke code.
test.xaml (6.5 KB)
You have to pass only value to it and it will give you the result.
showing this error.
Invoke code: Exception has been thrown by the target of an invocation.
Not sure why it is failing in your case.
It’s working code.
I believe you have passed the argument to highlighted value.
my input value is not fix, some times it is single digit and some time it is more than three like: “20,19,18,14,16”.
your code is working in case of 3 digit.
can we make it dynamic?
Can you share all values(input), i will make it dynamic…
i have made some changes in code, now it is working for all values. Thanks @ermanoj3101 @Nithinkrishna
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.