If Option1 = True Then
MsgBox ("谢谢,我就喜欢听这话,你真的很有眼光,呵呵 ^_^")
If Option2 = True Then
MsgBox ("呵呵,这话也就算了,我想你可能没看全,再好好看看!^O^")
If Option3 = True Then
MsgBox ("小样,小找茬是吧?不想死就重选~!-_-")
If Option4 = True Then
MsgBox ("啥也别说了,放学厕所等着我吧……")
End If运行时出来错误,是if块没有End if 这是怎么回事?
MsgBox ("谢谢,我就喜欢听这话,你真的很有眼光,呵呵 ^_^")
If Option2 = True Then
MsgBox ("呵呵,这话也就算了,我想你可能没看全,再好好看看!^O^")
If Option3 = True Then
MsgBox ("小样,小找茬是吧?不想死就重选~!-_-")
If Option4 = True Then
MsgBox ("啥也别说了,放学厕所等着我吧……")
End If运行时出来错误,是if块没有End if 这是怎么回事?
If Option1 = True Then
MsgBox ("谢谢,我就喜欢听这话,你真的很有眼光,呵呵 ^_^")
end if
If Option2 = True Then
MsgBox ("呵呵,这话也就算了,我想你可能没看全,再好好看看!^O^")
end if
If Option3 = True Then
MsgBox ("小样,小找茬是吧?不想死就重选~!-_-")
end if
If Option4 = True Then
MsgBox ("啥也别说了,放学厕所等着我吧……")
End If
MsgBox ("谢谢,我就喜欢听这话,你真的很有眼光,呵呵 ^_^")
elseIf Option2 = True Then
MsgBox ("呵呵,这话也就算了,我想你可能没看全,再好好看看!^O^")
elseIf Option3 = True Then
MsgBox ("小样,小找茬是吧?不想死就重选~!-_-")
elseIf Option4 = True Then
MsgBox ("啥也别说了,放学厕所等着我吧……")
End If
MsgBox ("谢谢,我就喜欢听这话,你真的很有眼光,呵呵 ^_^")
elsIf Option2 = True Then
MsgBox ("呵呵,这话也就算了,我想你可能没看全,再好好看看!^O^")
elseIf Option3 = True Then
MsgBox ("小样,小找茬是吧?不想死就重选~!-_-")
elseIf Option4 = True Then
MsgBox ("啥也别说了,放学厕所等着我吧……")
else
MsgBox ("等我K你吧……")
End If
if语句应该有end if语句块
楼主可以这样写:
If Option1 = True Then
MsgBox ("谢谢,我就喜欢听这话,你真的很有眼光,呵呵 ^_^")
End If
If Option2 = True Then
MsgBox ("呵呵,这话也就算了,我想你可能没看全,再好好看看!^O^")
End If
If Option3 = True Then
MsgBox ("小样,小找茬是吧?不想死就重选~!-_-")
End If
If Option4 = True Then
MsgBox ("啥也别说了,放学厕所等着我吧……")
End If
If Option1 = True Then MsgBox ("谢谢,我就喜欢听这话,你真的很有眼光,呵呵 ^_^")
If Option2 = True Then MsgBox ("呵呵,这话也就算了,我想你可能没看全,再好好看看!^O^")
If Option3 = True Then MsgBox ("小样,小找茬是吧?不想死就重选~!-_-")
If Option4 = True Then MsgBox ("啥也别说了,放学厕所等着我吧……")
'去掉最后的End If
MsgBox "谢谢,我就喜欢听这话,你真的很有眼光,呵呵 ^_^"