I made a table that the user can enter a zip code and a quantity of 2 cells, and I have other cells that perform calculations and display the results.
I added several VBAs so that no one could delete rows and columns, but I would like to prevent the deletion of any cell within the range, but also allow the user to make changes to certain cells, and also prevent editing cells with the formula there.
In the cell, the E4user can enter a zip code. The E6user can enter the quantity. They can be edited, but not deleted. E8:E9and E11:E14- all drop-down lists (validation) containing data from the lists. They can be changed using the drop-down list, but not deleted.
L10:L14, L16, L23:L27, L29, L30:L33They can edit their data, but not removed.
What will be the VBA for this? I guess he would use Worksheet_Change() event.
source
share