locked cells

  1. J

    Question [VSTO] how can i show messagebox when user edit locked cell.

    I want to allow the user to input only certain cells in Excel and other cells will be locked. (example: .Cells[1,1]) I wrote the code as below, the problem is I want to show a specific message when user input locked cell. (example: "You Can't Modify Item Cost") What should I do...
Back
Top Bottom