Saving over a read only file

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

i have a program that saves the open spread sheet over the previous revision
in 4 different locations on the server. the problem is that one of the
locations has the the current file in a read only format, and an error pops
up that it cant save over it. is there a way around this? its the
'Server-1\Released' folder that has the files in read only format.


Application.DisplayAlerts = False
ActiveWorkbook.SaveAs Filename:="\\Server-1\Estimator\" &ActiveWorkbook.Name
ActiveWorkbook.SaveAs Filename:="\\Server-1\Released\" &ActiveWorkbook.Name
ActiveWorkbook.SaveAs Filename:="C:\Documents\" & ActiveWorkbook.Name
ActiveWorkbook.SaveAs Filename:="C:\Backup\" &ActiveWorkbook.Name
Application.DisplayAlerts = True
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top