السلام عليكم
اليك قائمة منسدلة بالكود
Private Sub Worksheet_SelectionChange(ByVal Target As Range)
Dim CL As Range
If Not Intersect(Target, [K4]) Is Nothing Then
For Each CL In [A2:A300,B2:B300,C2:C300,D2:D300,E2:E300,F2:F300,G2:G300,H2:H300]
If CL <> Empty Then MyArr = MyArr & Trim(CL.Value) & ","
Next
With Range("K4").Validation
.Delete
.Add Type:=xlValidateList, AlertStyle:=xlValidAlertStop, Operator:= _
xlBetween, Formula1:=MyArr
End With
End If
End Sub
شاهد المرفق
Book2.rar