Link to home
Start Free TrialLog in
Avatar of pdvsa
pdvsaFlag for United States of America

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
Avatar of Jorge Paulino
Jorge Paulino
Flag of Portugal image

Have you saved after remove the protection?
Avatar of pdvsa

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.
Avatar of pdvsa

ASKER

Amick:  where is Tools > General Options
I have 2007.
ASKER CERTIFIED SOLUTION
Avatar of JP
JP
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of pdvsa

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?
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.
Avatar of pdvsa

ASKER

OK thank you very much.  I didnt think of looking in the VBA texts.