StormytheHornet
New Member
- Joined
- Feb 16, 2010
- Messages
- 4
- Office Version
- 365
- Platform
- Windows
Hi, hope someone can point me in the right direction please....
I have a spreadsheet with a couple of hundred rows with two columns of validation cells on every row; one of the validation cells in column N is dependent upon the other cell in column M (they are both on the same row),, These cells get completed by several users who are initially completing the spreadsheet and then revisiting and "tweaking" the primary validation field (column M) after the dependant validation cell has already been completed. So where they get tweaked, two validation fields get out of sync and I want to flag the inconsistency to the user when this happens.
If I use the below I can get a message added in the dependent cell (N2) when the primary validation cell (M2) gets amended- perfect,. However this only applies to just one row and I want to be able to apply this to all rows in the spreadsheet,. So for example if cell M50 got amended, the message "Please select from the Drop Down" would appear in N50. Whatever I try, it just doesn't work and I'm hoping someone can help me and let me know what I need to change please.
Option Explicit
Private Sub Worksheet_Change(ByVal Target As Range)
If Target.Address = "$M$2" Then
Range("N2").Value = "Please reselect from Drop Down"
End If
End Sub
I have a spreadsheet with a couple of hundred rows with two columns of validation cells on every row; one of the validation cells in column N is dependent upon the other cell in column M (they are both on the same row),, These cells get completed by several users who are initially completing the spreadsheet and then revisiting and "tweaking" the primary validation field (column M) after the dependant validation cell has already been completed. So where they get tweaked, two validation fields get out of sync and I want to flag the inconsistency to the user when this happens.
If I use the below I can get a message added in the dependent cell (N2) when the primary validation cell (M2) gets amended- perfect,. However this only applies to just one row and I want to be able to apply this to all rows in the spreadsheet,. So for example if cell M50 got amended, the message "Please select from the Drop Down" would appear in N50. Whatever I try, it just doesn't work and I'm hoping someone can help me and let me know what I need to change please.
Option Explicit
Private Sub Worksheet_Change(ByVal Target As Range)
If Target.Address = "$M$2" Then
Range("N2").Value = "Please reselect from Drop Down"
End If
End Sub