Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I am running a macro to save a spreadsheet to a common drive. Th
spreadsheet is write protected via a password. When I go to update the file the macro returns an error as the file i write reserved. Is there someway I can override this so the ne version will overwrite the old one. This is the code I am using to save it Code ------------------- ChDir "G:\COMMON\FILES" ActiveWorkbook.SaveAs FileName:= _ "G:\COMMON\FILES\myfile.xls", FileFormat:=xlNormal, _ Password:="", WriteResPassword:="mypass", ReadOnlyRecommended:=True, _ CreateBackup:=False ------------------- -- Message posted from http://www.ExcelForum.com |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Excel File Overwrite | Excel Discussion (Misc queries) | |||
accidental file overwrite | Excel Discussion (Misc queries) | |||
accidentally click YES to overwrite an existing file | Excel Discussion (Misc queries) | |||
retrieving of overwrite excel file? | Excel Discussion (Misc queries) | |||
File is "Reserved" | New Users to Excel |