Microsoft Excel Alert when saving file on shared network

sspatriots

Well-known Member
Joined
Nov 22, 2011
Messages
585
Office Version
  1. 365
Platform
  1. Windows
I get a message that says "Someone else is working in "Network Path and filename" right now. Please Try again later." about every 4th time I save my file that is on a shared network. Nobody else is in the file, but I still get the message 25% of the time. What would cause that if I'm the only one in the file?

Also, it happens when I have my code running that saves the workbook as well. Is there a way to make that alert not show up? my code around the save command is shown below, yet the alert still shows up. I have an error handler in the code right now to loop back and try again if the user selects "Yes" in the message box.

VBA Code:
With Application
    .DisplayAlerts = False                'Turns off alerts
    .AlertBeforeOverwriting = False       'Turns off overwrite alerts
    .ScreenUpdating = False               'Turns off screen updating
End With

    ThisWorkbook.Save


With Application
    .DisplayAlerts = True                 'Turns back on alerts
    .AlertBeforeOverwriting = True        'Turns on Overwrite alerts
    .ScreenUpdating = True                'Turns on screen updating
End With

Please advise, SS
 

Excel Facts

Create a Pivot Table on a Map
If your data has zip codes, postal codes, or city names, select the data and use Insert, 3D Map. (Found to right of chart icons).
Not sure how I missed your response. I just tried it and it worked great. thank you
 
Upvote 0

Forum statistics

Threads
1,223,250
Messages
6,171,036
Members
452,374
Latest member
keccles

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top