hi,
I'm on the verge of completing my excel program. At the end I was looking to lock all the cells of the sheet except those which require user inputs. I'm running the program mostly via macros.
The problem is that when I protect the sheet, i'm not able to run the macro. (error: the sheet is protected and therefore read-only)
The following options were selected while protecting the sheet:
1) Protect worksheet and content of locked cells (cannot uncheck this option)
2) select unlocked cells
Please help me to lock the cells and meanwhile execute the macro to change values in the locked cells.
Thanks
I'm on the verge of completing my excel program. At the end I was looking to lock all the cells of the sheet except those which require user inputs. I'm running the program mostly via macros.
The problem is that when I protect the sheet, i'm not able to run the macro. (error: the sheet is protected and therefore read-only)
The following options were selected while protecting the sheet:
1) Protect worksheet and content of locked cells (cannot uncheck this option)
2) select unlocked cells
Please help me to lock the cells and meanwhile execute the macro to change values in the locked cells.
Thanks