I’ve been using and learning UiPath for a couple of weeks now and I’m having some doubts with excel that hopefully you can help me solve.
The first question might be a simple one but I don’t seem to come with a simple solution: how can I add a new column between two existing ones directly in an excel sheet?
I know that there’s the Insert Column option within the table menu in the Excel app integration, but in order to do that, it appears to be that you need to have a table name, and in order to have a table name, you need to have a table (data formatted as a table). But is there a way to do it with raw data?
I’m sorry if it was asked before, I looked for it but didn’t find it, so that’s why I ask.
Hi vvaidya, thanks for your reply. I was thinking more in an “activities like” solution, one that does not imply having the excel file necessarily open. The method you mention is only usable in a recording sequence right?
vvaidya, if it’s not too much trouble, could you show an image of the worflow? I can´t make it work and it seems I’m missing something.
According to what I understood of your reply, I pass my excel file to a DataTable, then I add the activity add data column and then the Invoke Method Activity with the command you specified.
It throws the next exception (it’s in spanish so the translation is not literal): The expression does not generate a value.
I would also like to suggest some improvements to the excel app integration, it would be nice to have some basics activities such as this one without that much trouble.
Thanks vvaidya for your answers! Finally, and in honor of the time, I opted for the keyboard shortcuts method, of both options it is the one that adjust the most to what I’m trying to do.
Thank you so much for taking the time to answer me.