Please help
I have excel files with the names “A” and “B” then I want to copy all the data in file “A” to excel file “B”. And I can set the columns of the rows I want to copy to file “B”
how to copy an excel file to a new excel file using UiPath?
Please help
I have excel files with the names “A” and “B” then I want to copy all the data in file “A” to excel file “B”. And I can set the columns of the rows I want to copy to file “B”
how to copy an excel file to a new excel file using UiPath?
Hi @Kia1
Use the Copy/Paste range activity to copy the excel data from A to B.
→ Use the Use excel file activity and give the Excel A File Path.
→ Inside Use excel file activity insert the Use excel file activity and give the Excel B File Path.
→ Inside Second Use excel file activity insert the Copy\Paste Range activity.
→ Give the Excel A Range in the source field and give the Excel B Range in the destination field in the Copy/Paste range activity and select the Exclude headers from Source table only option from the dropdown.
Check the below workflow for better understanding,
Hope it helps!!
Try above mentioned ways. If not works, I will share the sample xaml.
Thanks
Please help
I have a task
Thankyou
that worked but the columns and rows didn’t keep the same width and height. Do you have any idea how we could achieve this?
Yes @andre.carneiro
We can do this by using AutoFit Range activity, which will adjust the width and height of the cells.
If you find the solution for your query, make my post mark as solution to close the loop.
Hope it helps!!
thank you for the response! It worked but the header row wasn´t affected, as seen in the picture below.
Hi @mkankatala.
This worked but the images or checkboxes were not copied.
Please help. Thank you!
No @didi97 only the data in the rows will be copied by this activity, it will not copy and paste the image and checkboxes.
Hope you understand!!
Hi,
Use read range do read A file and make it Data Table.
Use Filter Data Table Activity on your Data Table to maintain only the columns you need and also the rows you need.
Than use Append Range activity do add the filtered data to File B, the append range will use the first empty row to add the data from file A to file B.
Hope it help.