My cell is locked and I am filling the cell with data on Worksheet_Change event of a drop-down: Format(Date, "mm-dd-yyyy").
I am getting following error :: Run-time error '1004': Application-defined or object-defined error
I do not want to unlock the field as it is to be non-editable.
I also do understand that it is giving the error just because the cell is locked and it needs to perform the operation: Format(Date, "mm-dd-yyyy")..
What options do I have to make it working without unlocking the cell?