rodineyson
New Member
Hello All,
I saw an old post regarding an automated search cell (https://chandoo.org/forum/threads/multiple-dropdown-lists-with-same-data.25687/). I tried implementing the code but I just can´t get it to work. See my code below and my spreadsheet attached.
Can you help me out?
Thank you!!!
I saw an old post regarding an automated search cell (https://chandoo.org/forum/threads/multiple-dropdown-lists-with-same-data.25687/). I tried implementing the code but I just can´t get it to work. See my code below and my spreadsheet attached.
Code:
Private Sub Worksheet_Change(ByVal Target As Range)
If Target.Column = 2 And (Target.Row > 5 And Target.Row < 27) Then
Sheet1.[G1] = ActiveCell.Row
End If
End Sub
Private Sub Worksheet_SelectionChange(ByVal Target As Range)
If Target.Column = 2 And (Target.Row > 5 And Target.Row < 27) Then
Sheet1.[G1] = ActiveCell.Row
End If
End Sub
Can you help me out?
Thank you!!!