Hi there
I have a worksheet (called "Criteria"), where my colleagues are filling out certain cells, then using a Macro to save the data to another worksheet (called "Data", in the same excel file), and re-set the fields within the "Critera" worksheet, ready for the next entry.
Other than about 12 cells in "Criteria", I don't want anyone to be able to change or delete anything within the file. So, I protected all of the worksheets, and specified those 12 cells using the Tools, Protection, Allow Users To Edit Ranges Menu.
When the worksheet is protected, it allows me to edit those 12 cells, however, when I run the Macro (saving the 12 cells into the "Data" worksheet), I get an error message, saying that because the worksheet is protected, the macro cannot execute.
I tried un-protecting the "Data" worksheet, but even then, the macro still fails when it tries to clear the content out of the 12 cells that have been edited, because the rest of the sheet is protected.
Is there any way around this? It's been driving me crazy for 2 days now!
Thanks in advance!
I have a worksheet (called "Criteria"), where my colleagues are filling out certain cells, then using a Macro to save the data to another worksheet (called "Data", in the same excel file), and re-set the fields within the "Critera" worksheet, ready for the next entry.
Other than about 12 cells in "Criteria", I don't want anyone to be able to change or delete anything within the file. So, I protected all of the worksheets, and specified those 12 cells using the Tools, Protection, Allow Users To Edit Ranges Menu.
When the worksheet is protected, it allows me to edit those 12 cells, however, when I run the Macro (saving the 12 cells into the "Data" worksheet), I get an error message, saying that because the worksheet is protected, the macro cannot execute.
I tried un-protecting the "Data" worksheet, but even then, the macro still fails when it tries to clear the content out of the 12 cells that have been edited, because the rest of the sheet is protected.
Is there any way around this? It's been driving me crazy for 2 days now!
Thanks in advance!