Hello
I am looking for a vba code to allow a user to enter the value for the range of cells to protect on a worksheet.
Ideally i would like it that when i run the macro then a message box would pop up to ask the user to enter the cell range values then to confirm and the cell range to be protected.
EG the mesage would ask for the cells - i would enter b2 and d9 the the range B2:D9 would be protected with the remaining worksheet not protected.
Hope someone can help.
Thank you
I am looking for a vba code to allow a user to enter the value for the range of cells to protect on a worksheet.
Ideally i would like it that when i run the macro then a message box would pop up to ask the user to enter the cell range values then to confirm and the cell range to be protected.
EG the mesage would ask for the cells - i would enter b2 and d9 the the range B2:D9 would be protected with the remaining worksheet not protected.
Hope someone can help.
Thank you