Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
End
End Sub
Exit For
End If
Next
MsgBox (AUX_MODIFICAR)
txt_paterno.Text = Cells(AUX_MODIFICAR, 3)
txt_materno.Text = Cells(AUX_MODIFICAR, 4)
txt_nombres.Text = Cells(AUX_MODIFICAR, 5)
cbo_curso.Text = Cells(AUX_MODIFICAR, 6)
cbo_turno.Text = Cells(AUX_MODIFICAR, 7)
End Sub
Application.Worksheets("Registro").Select
Range("B2").Select
ActiveCell.Offset(1, 0).Select
Wend
ActiveCell.Value = codigo
Call LIMPIEZA
'Application.Worksheets("REGISTRO").Select
'Range("b2").Select
'ActiveCell.Offset(1, 0).Select
'Wend
'AQUI YA PASO EL VALOR DE CODIGO A LA CELDA ACTIVA
'ActiveCell.Value = codigo
'SI EL CODIGO INGRESADO ES IGUAL AL VALOR DE LA CELDA ACTIVADA (SI EL CODIGO YA EXISTE)
'ActiveCell.Value = Empty
'Call LIMPIEZA
' Else
'Call LIMPIEZA
'End If
End Sub
'LLENAR CURSOS
'LLENAR TURNOS
cbo_turno.AddItem "L-V"
cbo_turno.AddItem "Sáb"
cbo_turno.AddItem "Dom"
End Sub
Sub LIMPIEZA()
txt_paterno.Text = Empty
txt_materno.Text = Empty
txt_nombres.Text = Empty
cbo_curso.ListIndex = -1
cbo_turno.ListIndex = -1
txt_paterno.SetFocus
End Sub
FORMULARIO INGRESO
Option Explicit
Application.Worksheets("Registro").Select
Exit For
End If
Next
'MsgBox (AUX_MODIFICAR)
txt_paterno.Text = Cells(AUX_MODIFICAR, 3)
txt_materno.Text = Cells(AUX_MODIFICAR, 4)
txt_nombres.Text = Cells(AUX_MODIFICAR, 5)
cbo_curso.Text = Cells(AUX_MODIFICAR, 6)
cbo_turno.Text = Cells(AUX_MODIFICAR, 7)
End Sub
Application.Worksheets("Registro").Select
Cells(AUX_MODIFICAR, 2).Select
Selection.EntireRow.Delete
Call LIMPIEZA
End Sub
End
End Sub
Cells(AUX_MODIFICAR, 3) = UCase(txt_paterno.Text)
Cells(AUX_MODIFICAR, 4) = UCase(txt_materno.Text)
Cells(AUX_MODIFICAR, 5) = UCase(txt_nombres.Text)
Cells(AUX_MODIFICAR, 6) = UCase(cbo_curso.Text)
Cells(AUX_MODIFICAR, 7) = UCase(cbo_turno.Text)
End Sub
Application.Worksheets("Registro").Select
Range("B2").Select
ActiveCell.Offset(1, 0).Select
Wend
ActiveCell.Value = codigo
Call LIMPIEZA
'Application.Worksheets("REGISTRO").Select
'Range("b2").Select
'ActiveCell.Offset(1, 0).Select
'Wend
'ActiveCell.Value = codigo
'SI EL CODIGO INGRESADO ES IGUAL AL VALOR DE LA CELDA ACTIVADA (SI EL CODIGO YA EXISTE)
'ActiveCell.Value = Empty
'Call LIMPIEZA
' Else
'Call LIMPIEZA
'End If
End Sub
'LLENAR CURSOS
'LLENAR TURNOS
cbo_turno.AddItem "L-V"
cbo_turno.AddItem "Sáb"
cbo_turno.AddItem "Dom"
End Sub
Sub LIMPIEZA()
txt_paterno.Text = Empty
txt_materno.Text = Empty
txt_nombres.Text = Empty
cbo_curso.ListIndex = -1
cbo_turno.ListIndex = -1
txt_paterno.SetFocus
End Sub
FORMULARIO LOGIN
CONTRASENA = txt_contrasena.Text
txt_usuario.Text = Empty
txt_contrasena.Text = Empty
frm_login.Hide
frm_ingreso.Show
Else
End
End If
End Sub
End Sub
Option Explicit
Application.Worksheets("CALCULADORA").Select
Range("B2").Select
ActiveCell.Offset(1, 0).Select
Wend
ActiveCell.Value = num1
End Sub
txt_dato1 = Empty
txt_dato2 = Empty
txt_resultado = Empty
opt_sumar.Value = False
opt_restar.Value = False
opt_multiplicar.Value = False
opt_dividir.Value = False
End Sub
End
End Sub
num1 = Val(txt_dato1.Text)
num2 = Val(txt_dato2.Text)
End If
End Sub
num1 = Val(txt_dato1.Text)
num2 = Val(txt_dato2.Text)
operador = "-"
End If
End Sub
num1 = Val(txt_dato1.Text)
num2 = Val(txt_dato2.Text)
operador = "*"
End If
End Sub
num1 = Val(txt_dato1.Text)
num2 = Val(txt_dato2.Text)
operador = "/"
Else
End If
End Sub
Sub VALORES()
num1 = Val(txt_dato1.Text)
num2 = Val(txt_dato2.Text)
End Sub
Application.Worksheets("REGISTRO AUXILIAR").Select
Range("B3").Select
AUX_SECCION = "A"
Else
AUX_SECCION = "B"
Else
End If
End If
End If
CONDICION = "PROMOVIDO"
Else
CONDICION = "REPITENTE"
End If
ActiveCell.Offset(1, 0).Select
Wend
ActiveCell.Value = CODIGO
End
End Sub
'Lista de cursos
cbo_curso.AddItem "Lenguaje"
cbo_curso.AddItem "Matemática"
cbo_curso.AddItem "Inglés"
cbo_grado.AddItem "Primero"
cbo_grado.AddItem "Segundo"
cbo_grado.AddItem "Tercero"
cbo_grado.AddItem "Cuarto"
cbo_grado.AddItem "Quinto"
End Sub
frm_login.Show
End Sub