D
Dan Mabbutt
I'm trying to create a Click event in Word 2003 VBA. The event doesn't
seem to fire. Here's the ThisDocument VBA code. The other events fire
just fine, but not the Click event. Can anyone tell me why.
' This one does not fire
Private Sub ComboBox1_Click()
MsgBox "click"
End Sub
' All these fire just fine
Private Sub ComboBox1_Change()
MsgBox "change"
End Sub
Private Sub ComboBox1_DblClick(ByVal Cancel As MSForms.ReturnBoolean)
MsgBox "doubleclick"
End Sub
Private Sub ComboBox1_DropButtonClick()
MsgBox "drop button click"
End Sub
Private Sub ComboBox1_GotFocus()
MsgBox "gotfocus"
End Sub
seem to fire. Here's the ThisDocument VBA code. The other events fire
just fine, but not the Click event. Can anyone tell me why.
' This one does not fire
Private Sub ComboBox1_Click()
MsgBox "click"
End Sub
' All these fire just fine
Private Sub ComboBox1_Change()
MsgBox "change"
End Sub
Private Sub ComboBox1_DblClick(ByVal Cancel As MSForms.ReturnBoolean)
MsgBox "doubleclick"
End Sub
Private Sub ComboBox1_DropButtonClick()
MsgBox "drop button click"
End Sub
Private Sub ComboBox1_GotFocus()
MsgBox "gotfocus"
End Sub