Hi,
I have some ranges defined in the worksheet.
I want to make ready only certain cells in the sheet.
Below is code which I am using, However it is locking all the cells in the range. I want to lock the cells upto some specific row in the range.
like till first 20 rows in the range.
I get an error message saying "Unable to set locked property of the Range Class. When I come out of debug mode it says "Cannot change the part of merged cell " , Actually the column cell is a merge of two cells...and it is bcoz of this it throwing the above error.![]()
Please Login or Register to view this content.
Can somebody tell how to set the locked property of some cells in the range where the column cell is merged cell.
Thanks
Bookmarks