We have a requirement validate and Excel report which is linked to 20 other files(created monthly) from where the data is flowing to the main report. The business wants to validate if all the files are correctly linked to the main report, if not, then link it.
All the files are stored in SharePoint. Please let me know if there is a way to achieve this.
You can try this using a VBA macro quickly check if all external links in the main report are valid or broken and verify whether the linked file paths/formulas are correct.
For auto-correcting the links, if the file name or path has changed, then some extra logic is needed (like matching the new file name or using a naming rule).
Overall, yes, a VBA macro can validate the links, and UiPath can open the report, run the macro, and capture the results or even help fix the links based on the logic you provide.
Use SharePoint activities to access the main report and source files, read the links in Excel, check if each file exists, and update any broken links using Excel activities. Loop through all files to automate validation and correction.