79125067

Date: 2024-10-25 09:31:12
Score: 1.5
Natty:
Report link

As Active-X buttons don't have the take focus parameter you could use _GotFocus() instead of _Click() action and enable the button on the first click using .Enabled property

So the Click sub

Private Sub OptionButton1_Click() Some Action End Sub

Becomes

Private Sub OptionButton1_GotFocus() OptionButton1.Enabled = True Some Action End Sub

Reasons:
  • No code block (0.5):
  • Low reputation (1):
Posted by: AndyWard