I have a workbook that's currently unprotected. The user would click a button and data would be transferred from one sheet to another... this worked fine. But for some reason it quit working. I noticed that the destination sheet was protected... so I deleted all the code that protected or unprotected all sheets. And now, when the user clicks the button, the data transfer still isn't working, but now when the destination sheet comes up (without the transferred data)... the sheet is Protected... but when I click in a cell, it becomes Unprotected.
The code I was using to Protect and Unprotect the the sheets is below...
Code:
ThisWorkbook.Sheets("Office View").Protect Password:=AdminPass
ThisWorkbook.Sheets("Office View").Unprotect Password:=AdminPass
Since all the Protect/Unprotect code has been removed....and no worksheets are protected...why would the sheet come up Protected only to be Unprotected when I click on any cell???
If you need to see the Workbook, I'll post it... just thought I was missing something simple. Remember, this used to work fine... then it just quit working. Just prior to it quitting on me, I had erased a bunch of code on the same page but nothing that had anything to do with the transfer code (which quit working).