Sie sind auf Seite 1von 1

examen

Private Sub CommandButton1_Click()

If Me.TextBox1.Text = (Day(Date) * Day(Date)) + Minute(Time) Then

Hoja1.Visible = xlSheetVisible

Hoja2.Visible = xlSheetVisible

Hoja3.Visible = xlSheetVeryHidden

Hoja1.Activate

Unload Me

Else

MsgBox "Contraseña incorrecta, solicite la contraseña al profesor", vbCritical

Me.TextBox1.Text = ""

End If

End Sub

Private Sub TextBox1_Change()

End Sub