The document defines variables and subroutines for tracking a user's correct and incorrect responses to a multiple choice test. It initializes variables like the user's name, number of correct and incorrect answers. Subroutines update the counters and display messages depending on if the user's response is correct or incorrect for each question. After all questions, it displays the user's final score.
Abortion pills in Jeddah +966572737505 <> buy cytotec <> unwanted kit Saudi A...
Macro6
1. Dim numBien As Integer
Dim numMal As Integer
Dim Nombre As String
Dim resp01 As Boolean
Dim resp02 As Boolean
Dim resp03 As Boolean
Dim resp04 As Boolean
Dim resp05 As Boolean
Dim resp06 As Boolean
Sub Empezar()
IniciarVariables
TuNombre
ActivePresentation.SlideShowWindow.View.Next
End Sub
Sub IniciarVariables()
numBien = 0
numMal = 0
resp01 = False
resp02 = False
resp03 = False
resp04 = False
resp05 = False
resp06 = False
End Sub
Sub TuNombre()
Nombre = InputBox(Prompt:="Introduce tu nombre")
End Sub
Sub RespBien01()
If resp01 = False Then
numBien = numBien + 1
End If
resp01 = True
Correcto
End Sub
Sub RespMal01()
If resp01 = False Then
numMal = numMal + 1
End If
resp01 = True
Incorrecto
End Sub
Sub RespBien02()
If resp02 = False Then
numBien = numBien + 1
End If
resp02 = True
Correcto
End Sub
Sub RespMal02()
If resp02 = False Then
numMal = numMal + 1
End If
resp02 = True
Incorrecto
End Sub
Sub RespBien03()
If resp03 = False Then
numBien = numBien + 1
End If
2. resp03 = True
Correcto
End Sub
Sub RespMal03()
If resp03 = False Then
numMal = numMal + 1
End If
resp03 = True
Incorrecto
End Sub
Sub RespBien04()
If resp04 = False Then
numBien = numBien + 1
End If
resp04 = True
Correcto
End Sub
Sub RespMal04()
If resp04 = False Then
numMal = numMal + 1
End If
resp04 = True
Incorrecto
End Sub
Sub RespBien05()
If resp05 = False Then
numBien = numBien + 1
End If
resp05 = True
Correcto
End Sub
Sub RespMal05()
If resp05 = False Then
numMal = numMal + 1
End If
resp05 = True
Incorrecto
End Sub
Sub RespBien06()
If resp06 = False Then
numBien = numBien + 1
End If
resp06 = True
Correcto
End Sub
Sub RespMal06()
If resp06 = False Then
numMal = numMal + 1
End If
resp06 = True
Incorrecto
End Sub
Sub Correcto()
MsgBox ("Correcto, " & Nombre)
End Sub
Sub Incorrecto()
MsgBox ("Incorrecto, " & Nombre)
End Sub
Sub Calificacion()
MsgBox ("Obtuviste " & numBien & " de " _
& numBien + numMal & ", " & Nombre)