Hi
I have a requirement for a copy of one Excel file into another Excel file by using components in Robotics Studio.
Thanks.
Hi
I have a requirement for a copy of one Excel file into another Excel file by using components in Robotics Studio.
Thanks.
@SaiG5925 If you simply wish to make a copy of the entire file, you can do so in several simple ways in 22.1.
On the Toolbox, search for “copy” and you will see a CopyFile method. This will copy the entire file from one location to another.
From either Excel connector; you can use the SaveAs method to save a copy of the file to wherever you wish.
If you wish to copy only certain worksheets within a file, that is also possible. Let me know that is something you wish to see.
@SaiG5925 Here is a simple example using the Excel Connector. If you need the worksheet visible to the user, you can use the Microsoft Excel Connector, however it will be much slower and the steps will be different. If possible, use the Excel Connector and then open the file for the user. If you need to use the Micorostf Excel Connector, let me know and I can provide an example for that connector.
Thanks for your response.