Option Explicit
Private Sub cmAdd1_Click()
Dim iRow&
With Worksheets("PartsData")
iRow = .Columns(1).Find(What:="*", SearchOrder:=xlRows, _
SearchDirection:=xlPrevious, LookIn:=xlValues).Row + 1
With .Cells(iRow, 1)
'copy the data to the database
.Value = sku1
If sku1 = "M40156" Then .Offset(, 1) = 1
.Offset(1) = sku2
.Offset(2) = sku3
.Offset(3) = sku4
End With
End With
End Sub