Hi I'm trying to display data based on a combobox and data in Column D.
current code below
current code below
VBA Code:
Sub UserForm_Initialize()
Dim lIndex As Long
Dim rngMultiColumn As Range
Set rngMultiColumn = ThisWorkbook.Worksheets("Sheet3").Range("A4:N100")
With Me.AllocateBox1
.ColumnCount = 14
.ColumnWidths = "35;50;50;95;35;30;30;90;60;70;75;85;30"
.List = rngMultiColumn.Cells.Value
For lIndex = 0 To .ListCount - 1
.List(lIndex, 0) = Format(.List(lIndex, 0), "dd-mmm")
Next lIndex
End With
End Sub