Pookiemeister
Well-known Member
- Joined
- Jan 6, 2012
- Messages
- 626
- Office Version
- 365
- 2010
- Platform
- Windows
Code:
Private Sub cmbSDPFLine_Enter()
Dim rng As Range
Dim rcell As Range
Set rng = ThisWorkbook.Sheets("Sheet1").Range("A1:F1")
cmbSDPFLine.Clear
For Each rcell In rng.Cells
cmbSDPFLine.AddItem = rng.Cells.Value
If rcell.Value = "Line 4" Then
With cmbSDPFLine
'Nothing here yet
End With
End If
Next rcell
End Sub
Code:
cmbSDPFLine.AddItem = rng.Cells.Value
Thank You
Last edited: