Hi @Ujwal Poudel,
I suggest you add the path of the shared network drive to the Trusted Locations.
Please go to Excel > File > Options > Trust Center > Trust Center Settings > Trusted Locations > tick the box of "Allow Trusted Locations on my network", then click Add new location, type in the path and then tick the box of "Subfolders of this location are also trusted".
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.