Hi,
I have an excel like below. The fields in white will have data entered by end user. I need to read these data and use it as a transaction data.
Can someone please help
Hi,
I have an excel like below. The fields in white will have data entered by end user. I need to read these data and use it as a transaction data.
Can someone please help
Hi @mohammedamaan,
I hope read cell activity will help in this situation.
Read particular cell you required and store the value in a Variable.
Regards
Vishnu
Hi @winningvish,
This approach doesn’t seem to be good as I have so many fields and for each field I will have to use Read Cell. And also for transaction data i am using data table.
You can use dictionary variable, if the fields are aligned one after one just like in config file.
To achieve that, as per my knowledge you need modify the excel template.
Regards
Vishnu
If that would have been the case I could have directly used it as a datatable. The excel template cannot be modified as it is coming from the end user.
Ok @mohammedamaan,
I hope in that case you need read cell activity. Sorry I am not sure either.
I faced the same situation with less values I have to read from excel. (Used Read Cell Activity)
But I wish you will find, the better solution than mine.
Regards
Vishnu
The image what I have shared is partial. There are values down and also there is another similar sheet as well from where I need to read data.
Anyways thanks for the response.
Oh then reading so many Excel cell values is not a good solution.
Kindly share if you find the solution.
Welcome
Regards
Vishnu
Yeah sure. Let see if someone can help us.
If you can’t change the input template, then the only way to do it is to utilize a ton of read cell activities. You can of course read the whole datatable and manually choose specific row/column information, but it is cleaner & clearer to do a bunch of read cell activities instead. If it is going to be a ton, I would recommend putting it into a list or dictionary as advised earlier
EDIT: Another option would be to use a macro to extract the information and put it in a better table format, then use read range on that
There is a possible workaround, if you prefer.
(or )
By this you can avoid hitting the excel file with lots of read cells and will also be useful if the cell positions change (works as long as key and value are adjacent to each other).
If you read it as data table how can you pass the particular data as input to the bot?
@mohammedamaan Is this query resolved?. If yes, please mark the solution
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.