Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
If I us the SaveAs Method from within and Excell 97 macro should the
sheet protection status follow be maintained in the saved file? I get the impression from the help file that it should but tests don't bear that out. -- BrianG *** Sent via Developersdex http://www.developersdex.com *** Don't just participate in USENET...get rewarded for it! |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() Using the following code, my tests showed that protection followed. ActiveWorkbook.SaveAs Filename:= _ "C:\temp\test.xls", FileFormat _ :=xlNormal, Password:="", WriteResPassword:="", ReadOnlyRecommended:= _ False, CreateBackup:=False However, you can always add protection through code using: ActiveSheet.Protect DrawingObjects:=True, Contents:=True, Scenarios:=True "BrianG" wrote in message ... If I us the SaveAs Method from within and Excell 97 macro should the sheet protection status follow be maintained in the saved file? I get the impression from the help file that it should but tests don't bear that out. -- BrianG *** Sent via Developersdex http://www.developersdex.com *** Don't just participate in USENET...get rewarded for it! |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Problem using SaveAs method | Excel Discussion (Misc queries) | |||
SaveAs method error | Excel Discussion (Misc queries) | |||
Question Using SaveAs Method | Excel Programming | |||
SaveAs method | Excel Programming |