x = Int(Rnd() * 9 + 1)
If x = 1 Then
Image1.Visible = True
Image2.Visible = False
Image3.Visible = False
Image4.Visible = False
Image5.Visible = False
Image6.Visible = False
Image7.Visible = False
Image8.Visible = False
Image9.Visible = False
End If
如上述,接下來還有x=2,3,4......
但為何直到
If x = 7 Then
Image1.Visible = False
Image2.Visible = False
Image3.Visible = False.......發現這邊有錯
Image4.Visible = False
Image5.Visible = False
Image6.Visible = False
Image7.Visible = True
Image8.Visible = False
Image9.Visible = False
End If
實在不懂,明明和其他都一樣,卻只有它錯,其他都對

全站熱搜

vbqa 發表在 痞客邦 留言(1) 人氣()