how about this modification of your cmdAdd_Click() macro:
Private Sub cmdAdd_Click()
Dim iRow As Long
Dim ws As Worksheet
Set ws = Worksheets("Data")
iRow = ws.Cells.Find(What:="*", SearchOrder:=xlRows, _
SearchDirection:=xlPrevious, LookIn:=xlValues).Row + 1
If Trim(Me.txtName.Value) = "" Then
Me.txtName.SetFocus
MsgBox "Please enter your name"
Exit Sub
End If
With ws
.Cells(iRow, 1).Value = Me.txtName.Value
.Cells(iRow, 2).Value = Me.txtAge.Value
.Cells(iRow, 3).Value = Me.txtPhone.Value
'Here you place your data in your specific sheets and cells
Sheets("Sheet2").Range("C6") = Me.txtName.Value
Sheets("Sheet2").Range("C8") = Me.txtAge.Value
Sheets("Sheet3").Range("G18") = Me.txtPhone.Value
End With
Me.txtName.Value = ""
Me.txtAge.Value = ""
Me.txtPhone.Value = ""
End Sub
Bookmarks