paulcedarhill
Technical User
I am a novice programmer trying to write a macro to save a write protected fil. The macro is activiated through a control box, after the file has been opened with read/write priviledge. I get an error saying file is write reserved. Here is tha code for the save, that was recorded through keystrokes in macor record. What am I missing?
ActiveWorkbook.SaveAs Filename:="T:\Production Logs\06 prod log.xls", _
FileFormat:=xlNormal, Password:="", WriteResPassword:="STARS", _
ReadOnlyRecommended:=False, CreateBackup:=False
ActiveWorkbook.SaveAs Filename:="T:\Production Logs\06 prod log.xls", _
FileFormat:=xlNormal, Password:="", WriteResPassword:="STARS", _
ReadOnlyRecommended:=False, CreateBackup:=False