Te anexo el código completo del formulario hijos:
Public dni2, nom2, gdo2, sec2
Private Sub CommandButton1_Click()
'Por.Dante Amor
Set h6 = Sheets("Hijos")
Set r = h6.Columns("A")
Set b = r.Find(Label14, lookat:=xlWhole)
If Not b Is Nothing Then
ncell = b.Address
Do
If h6.Cells(b.Row, "B") = Label15 Then
h6.Cells(b.Row, "C") = TxtGrado
h6.Cells(b.Row, "D") = TxtSeccion
MsgBox "Datos actualizados"
Unload Me
Exit Do
End If
Set b = r.FindNext(b)
Loop While Not b Is Nothing And b.Address <> ncell
End If
End Sub
'
Private Sub UserForm_Activate()
'Por.Dante Amor
Label14 = dni2
Label15 = nom2
TxtGrado = gdo2
TxtSeccion = sec2
TxtGrado.SetFocus
End Sub
sal u dos