I have an Excel file that is located on a network disk. I need to update it twice a day. I'm using the "Copy file" function, but it fails if any user is using it. Do you have any ideas on how to handle this?

I have an Excel file that is located on a network disk. I need to update it twice a day. I'm using the "Copy file" function, but it fails if any user is using it. Do you have any ideas on how to handle this?