Hi, I am using the following code to export data from a ComboBox to the next empty cell in a range.
I have changed my data from a range to a table, the ComboBox selection is now pasting the next next empty row in the table instead of next empty cell in row.
Help if you can please.
Many thanks
VBA Code:
Private Sub CommandButton6_Click()
Dim LastRow As Long
With ThisWorkbook.Sheets("Data")
LastRow = .Cells(.Rows.Count, "B").End(xlUp).Row
With .Range("B" & LastRow)
.Value2 = ComboBox3.Value
MsgBox "Entry Exported To List", vbInformation
End With
End With
End Sub
Help if you can please.
Many thanks