Just FYI the code you posted would never run, as you have put several subroutines inside another one.
Try this:
Private Sub cmdAddTooling_Click()
Dim wks As Worksheet
Dim AddNew As Range
Set wks = Sheet6
Set AddNew = wks.Range("A65356").End(xlUp).Offset(1, 0)
with application.worksheetfunction
if .countif(addnew.entirecolumn, me.txtLine) = 0 then
if .countif(addnew.entirecolumn.offset(, 1), me.txtToolType) = 0 then
if .countif(addnew.entirecolumn.offset(, 2), me.txtPartNumber) = 0 then
if .countif(addnew.entirecolumn.offset(, 3), me.txtTCNNumber) = 0 then
if .countif(addnew.entirecolumn.offset(, 4), me.txtDrawingNumber) = 0 then
if .countif(addnew.entirecolumn.offset(, 5), me.txtNumber) = 0 then
if .countif(addnew.entirecolumn.offset(, 6), me.txtMaterial) = 0 then
AddNew.Offset(0, 0).Value = me.txtLine
AddNew.Offset(0, 1).Value = me.txtToolType
AddNew.Offset(0, 2).Value = me.txtPartNumber
AddNew.Offset(0, 3).Value = me.txtTCNNumber
AddNew.Offset(0, 4).Value = me.txtDrawingNumber
AddNew.Offset(0, 5).Value = me.txtNumber
AddNew.Offset(0, 6).Value = me.txtMaterial
End If
End If
End If
End If
End If
End If
End If
End With
End Sub
You might want to add a message in an Else clause for each If just to let the user know why the data isn't being added!
Bookmarks