pdvsa
asked on
Remove Protection permanently, Excel 2007
Experts, I have a file that does not have any pw on it but I have to continually press REVEIW < Unprotect Sheet in order to make edits to text. After I press the Unprotect Sheet and make edits I then close the file. I do not add any protection howefver when I open the file the protection is back and I go through the same routine.
How can I permannently remove the protection of the workbook?
I have 2007.
thank you
How can I permannently remove the protection of the workbook?
I have 2007.
thank you
Have you saved after remove the protection?
ASKER
Yes, I did save.
Save a copy of your file selecting only the restrictions you wish to have in place on the Tools > General Options menu in the save dialog.
ASKER
Amick: where is Tools > General Options
I have 2007.
I have 2007.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
peeth: I think there is a macro.
I have this:
Private Sub Workbook_Open()
wksSchedule.Protect UserInterfaceOnly:=True
wksHolidays.Protect UserInterfaceOnly:=True
wksStatus.Protect UserInterfaceOnly:=True
End Sub
I guess I could remove it?
I have this:
Private Sub Workbook_Open()
wksSchedule.Protect UserInterfaceOnly:=True
wksHolidays.Protect UserInterfaceOnly:=True
wksStatus.Protect UserInterfaceOnly:=True
End Sub
I guess I could remove it?
You can remove it or comment it out. To comment out just place an apostrophe in front of the lines of code to be ignored. After you do and move to another line the text will turn green.
ASKER
OK thank you very much. I didnt think of looking in the VBA texts.