Professional Documents
Culture Documents
Codificacion - de - Formulario - Busqueda II
Codificacion - de - Formulario - Busqueda II
Option Explicit
fila = 1
fila = fila + 1
Wend
Cells(fila, 1) = txtNombre.Value
Cells(fila, 2) = txtpaterno.Value
Cells(fila, 3) = txtcontrol.Value
Cells(fila, 4) = txtEmail.Value
txtNombre.Value = Empty
txtpaterno.Value = Empty
txtcontrol.Value = Empty
txtEmail.Value = Empty
cbo_semestre.Value = Empty
cbo_grupo.Value = Empty
cbo_alumno.Value = Empty
cbo_semestre.SetFocus
End Sub
Private Sub cbo_semestre_Change()
cbo_grupo.Clear
id_semestre = cbo_semestre.ListIndex + 1
End If
Next
End With
End Sub
cbo_alumno.Clear
Call LimpiarTextBoxes
With Hoja4 'Tabla Alumnos
id_grupo = cbo_grupo.ListIndex + 1
End If
Next
End With
End Sub
Call LimpiarTextBoxes
id_alumno = cbo_alumno.ListIndex + 1
txtcontrol = .Cells(fila, 3)
txtpaterno = .Cells(fila, 4)
txtEmail = .Cells(fila, 5)
End If
Next
End With
End Sub
End If
Next
End With
End Sub
Sub LimpiarTextBoxes()
txtNombre = Empty
txtcontrol = Empty
txtpaterno = Empty
txtEmail = Empty
End Sub
Unload Me
End Sub