View Single Post
  #5   Report Post  
Posted to microsoft.public.excel.programming
Simon Lloyd[_510_] Simon Lloyd[_510_] is offline
external usenet poster
 
Posts: 1
Default unprotect, lock and reprotect file does not seem to work

It seems to me that in your macro you have told the cells to be u
locked in your statement Lock=false but you do not turn it on agai
afterwards, i'm assuming that the workbook you save does not have th
"lock cells" check box checked and this is why they remain unlocked bu
your original worksheet is locked.

I'm new to all this myself but i would try turning the lock=true o
before saving the new file.

HTH

Simo

--
Message posted from http://www.ExcelForum.com