Hi, i have a data validation list in a cell (A1) and when the value in the list is changed, i want the cell next to it to be updated.
e.g. If A1 = "SPN", B1 should say "Yes".
When ever i try to do this, i get a 1004 error.
When it tries to change the value of B1, i get the 1004 error.![]()
Private Sub worksheet_change(ByVal target As Range) if range("A1").value = "SPN" then range("B1").value = "Yes" end if end sub
What am i doing wrong?
Bookmarks