vk7
Member
Hello All,
I have a requirement to do "TexttoColumn" operations on a selected range ("A1:A50") using a macro and wanted to lock all other cells in the sheet. So unlocked the cells from ("A1:A50") and then locked all the other cells in the Sheet and then protected the sheet.
However, when I run the macro it says "it can't be executed in the protected sheet". How can I fix this without keeping my worksheet unlocked? I have attached a sample sheet here with.
Note: PWD (excel2013)
I have a requirement to do "TexttoColumn" operations on a selected range ("A1:A50") using a macro and wanted to lock all other cells in the sheet. So unlocked the cells from ("A1:A50") and then locked all the other cells in the Sheet and then protected the sheet.
However, when I run the macro it says "it can't be executed in the protected sheet". How can I fix this without keeping my worksheet unlocked? I have attached a sample sheet here with.
Note: PWD (excel2013)