Private Sub CommandButton1_MouseUp(ByVal Button As Integer, ByVal Shift As Integer, _
ByVal X As Single, ByVal Y As Single)
If Shift = 7 Then
MsgBox "隠し機能"
Else
MsgBox "通常機能"
End If
End Sub
Private Sub CommandButton1_Click()
MsgBox "通常機能"
End Sub
Private Sub CommandButton1_MouseUp(ByVal Button As Integer, ByVal Shift As Integer, _
ByVal X As Single, ByVal Y As Single)
Static cnt As Long
If Shift = 7 And Button = 2 Then cnt = cnt + 1
If cnt = 5 Then
If InputBox("Password?") = "1234" Then
MsgBox "管理者機能"
End If
End If
End Sub