prevent doubleclick for command button

G

Gina

Hello!

I have several command buttons that has assigned macros to get a particular
record and delete it. How can I ensure that double-click for the command
button is disabled?
 
R

royUK

Try this


Code
-------------------
Option Explicit

Private Sub CommandButton1_DblClick(ByVal Cancel As MSForms.ReturnBoolean)
Cancel = True
End Su
-------------------

--
royU

Hope that helps, RoyUK
For tips & examples visit my 'web site
' (http://www.excel-it.com
 
Top