Sub Macro1()
Dim lyst As String, i As Long
''''Loop to create list
For i = 1 To 5
If lyst <> "" Then
lyst = lyst & "," & Cells(i, 1)
Else
lyst = Cells(i, 1)
End If
Next i
''''The code below was created with the Macro Recorder
''''Add data validation; modify Formula1 to the list you just created
With Range("N1").Validation
.Delete
.Add Type:=xlValidateList, AlertStyle:=xlValidAlertStop, Operator:= _
xlBetween, Formula1:=lyst
.IgnoreBlank = True
.InCellDropdown = True
.InputTitle = ""
.ErrorTitle = ""
.InputMessage = ""
.ErrorMessage = ""
.ShowInput = True
.ShowError = True
End With
End Sub