Hi - someone on this forum wrote below for me and it works perfectly, but I need the "M3" in line 3 to be a cell in another workbook ie. Sheet 2 cell C29, how can I change this please?
Thank you,
Catherine
Private Sub Worksheet_Change(ByVal Target As Range)
Dim nStr As String
If Target.Address(0, 0) = "M3" Then
Select Case Target.Value
Case "Portfolio", "Portfolio status not yet known": nStr = "Research, Service Support, Excess Treatment, Standard Treatment"
Case "NonPortfolio": nStr = "Research"
End Select
With Range("K8:K14, K21:K26, K34:K40, K48:K51, K60:K64, K74:K77").Validation
.Delete
.Add Type:=xlValidateList, Formula1:=nStr
End With
End If
End Sub
Thank you,
Catherine
Private Sub Worksheet_Change(ByVal Target As Range)
Dim nStr As String
If Target.Address(0, 0) = "M3" Then
Select Case Target.Value
Case "Portfolio", "Portfolio status not yet known": nStr = "Research, Service Support, Excess Treatment, Standard Treatment"
Case "NonPortfolio": nStr = "Research"
End Select
With Range("K8:K14, K21:K26, K34:K40, K48:K51, K60:K64, K74:K77").Validation
.Delete
.Add Type:=xlValidateList, Formula1:=nStr
End With
End If
End Sub