I've developed a simple user form with a bunch of buttons that, when pressed, play a sound. I've also assigned a custom "accelerate" key to each button in a manner which when I press Alt + key the button is activated. The problem is, this happens only once for each button! Every subsequent activation through the accelerate key return an error beep. How to make it so the activation of the buttons canh be repeated in this way?
Some reference follows:
Redirecting (For the custom sounds)
Code snippet for the buttons, they all look the same.
Some reference follows:
Redirecting (For the custom sounds)
Rich (BB code):
Private Sub CommandButton1_Click()
Me.CommandButton1.Accelerator = A
Beep 800, 300
Me.CommandButton1.SetFocus
End Sub