hi norie
tried using nextrow +1 but was not having any of it,not sure what I was doing with c.row but have found one of your old ones you gave me and works good
Set ws = Worksheets("repairs")
'find first row in database
iRow = ws.Cells(Rows.Count, 1).End(xlUp).Offset(1, 0).Row
With ws
.Range("B" & iRow) = TextBox1.Value
.Range("h" & iRow) = TextBox5.Value
' .Range("F" & iRow) = txtWeekTotal.Value
.Range("a" & iRow) = ComboBox1.Value
.Range("d" & iRow) = TextBox11.Value
.Range("f" & iRow) = TextBox3.Value
cheers for answering,try to go go through all code library before putting threads on missed this one
cheers colin
Bookmarks