Unlocked cells in Protected worksheet are getting automatically locked while execution of macro in Excel 2007 thus preventing execution of further statements in the macro. For this particular case it is occuring while using "Range.Select" and "Range.clear" methods.
Alternatively i am using activesheet.unprotect and activesheet.protect to solve this problem which is not a real solution.
Could anyone suggest reasons for the same.
Bookmarks