Dear Shahzad Khan,
Greetings! Thank you for posting in Microsoft Community.
As per your description, it seems like you have an Excel workbook which has links to other external workbooks, when you copy sheets to new workbook, it shows error "file/path access error".
May I know if my understanding of the scenario is right?
If yes, we're afraid it's expected that "file/path access error" error will appear when we only copy sheets including links to other external workbooks. Thanks for your understanding.
If those external workbooks are stored in local drive on your computer, you may need to manually recreate the links in the new workbook.
If you want to use VBA solution to create the links to fix the error, considering that it's VBA related queries, we would recommend you refer to this article Office VBA support and feedback | Microsoft Learn and go to Stack Overflow Community by using the VBA tag, along with any other relevant tags as there are also many experienced engineers and experts in the forums there.
At the same time, we will also keep this thread open, so other Community members and Experts can also share their suggestions and inputs.
If our understanding of the scenario is not consistent with yours, feel free to point it out, we will continue helping you.
Thank you for your cooperation and understanding! We hope you keep safe and healthy always.
Sincerely,
Tina | Microsoft Community Moderator
[Updated by Tina Chen MSFT on 7:27 AM, Friday, December 2, 2022(UTC)]