Hi @TTC I hope you are doing well.
In addition to what @Agnius mentioned previously, here on the image below you can see my recommendations.
Process 1 - My recommendations here are:
- Use a Set Variable Action with the folder path which contains the file and in which the file will be saved. This will facilitate any change needed and the aesthetic of the code.
- The action# 5 showcase if deleting Columns D, E & F can be used instead of using 3 Delete Columns actions, this is just a recommendation and if you consider use it, please validate the number of rows of your file or Excel version.
Process 2 - My recommendations here are:
- If the Open Excel is failing, this could be for multiple reasons:
- The file path is incorrect.
- The excel file has pivot table with the update pivot upon opening the file, this will cause this kind of error.
- Use the Run Action showcase on action #10 to open the Excel file.
- Then use the Attached to Excel File action #11 to get the instance of the File “Day Break Fast”.
- On the same action, set up the error handling to try it 5 times to avoid getting an error.
This should give some ideas of how to tackle and resolve this situation.
Hope this helps,
If I have addressed your inquiry successfully, kindly consider marking my response as the preferred solution. If you found my assistance helpful, a 'Thumbs Up' would be greatly appreciated.
Additionally, I offer specialized consultancy and development services leveraging PAD. If you're interested in exploring these services further, feel free to DM me, and we can initiate a discussion.
Kind regards,
Will SG
Managing Director & Automation Lead
RAMS CR (Recruitment & Automation)
LinkedIn Profile
