Hi everyone. Beginner at VBA here.
I have a sheet with two ranges. Each range is a territory assigned to managers by state.
What I would like to do is use a DoubleClick function to add a 1 to the cell clicked. But, each state cannot be assigned to multiple managers. So, if another cell in that row is clicked, e.g., reassigned, the the other cells in that row should clear contents and place a 1 in the "new" cell.
I've gotten about halfway on this by adapting code from another sheet. (You ever write code and years later look at it and think "what monster wrote this".)
I appreciate any help on this.
I have a sheet with two ranges. Each range is a territory assigned to managers by state.
What I would like to do is use a DoubleClick function to add a 1 to the cell clicked. But, each state cannot be assigned to multiple managers. So, if another cell in that row is clicked, e.g., reassigned, the the other cells in that row should clear contents and place a 1 in the "new" cell.
I've gotten about halfway on this by adapting code from another sheet. (You ever write code and years later look at it and think "what monster wrote this".)
I appreciate any help on this.