I am using the odd rows and columns as padding right now. I am making sure the user can't insert anything in it through use of modular arithmetic:
- If they are in an odd row and press enter, they are shifted down one, and then they can type to edit
- If they are in an even row and press enter, they are shifted down two rows, then they can type to edit (or they can just type immediately to edit)
Now is there any way, via VBA to restrict the users ability to select/edit odd rows and columns altogether?
EDIT: I don't expect all odd rows/columns to be uneditable from the get go. I just need a function which takes as input the row, and then makes it so the whole row can't be clicked. Likewise for columns. In this way, if the user decides to add a new row/column, I first add a row/column, make it uneditable, then I add the row/column for the user to edit