I have a worksheet that has Dependant Dropdown Lists in it (Column J & K). Importantly, the same lists in Column J & K repeat in the rows below.
I am trying to get the Dropdown List in Column K to display "Select Name>>" whenever the Column J Dropdown List is changed.
And ideally for a cell in Column K to remain blank if the adjacent cell in Column J is blank.
I have found the following VBA instruction on how to do this, and it works perfectly for me, but of course it will only affect Row 16 and none of the rows below it (e.g. Range J16:J200 or K16:K200).
Private Sub Worksheet_Change(ByVal Target As Range)
If Target.Address = "$J$16" Then
Range("K16").Value = "Select Name>>"
End If
End Sub
How do I modify this VBA code so that the:
- Dropdown List in Column K displays "Select Name>>" whenever the Column J Dropdown List is changed
- cell in Column K remains blank if the adjacent cell in Column J is blank.
Thank you for any help that you can offer a non VBA mastermind.
I am trying to get the Dropdown List in Column K to display "Select Name>>" whenever the Column J Dropdown List is changed.
And ideally for a cell in Column K to remain blank if the adjacent cell in Column J is blank.
I have found the following VBA instruction on how to do this, and it works perfectly for me, but of course it will only affect Row 16 and none of the rows below it (e.g. Range J16:J200 or K16:K200).
Private Sub Worksheet_Change(ByVal Target As Range)
If Target.Address = "$J$16" Then
Range("K16").Value = "Select Name>>"
End If
End Sub
How do I modify this VBA code so that the:
- Dropdown List in Column K displays "Select Name>>" whenever the Column J Dropdown List is changed
- cell in Column K remains blank if the adjacent cell in Column J is blank.
Thank you for any help that you can offer a non VBA mastermind.