Hi guys,

I would like to make sensible textbox to mouse_down event.

I have created userform1, textbox4. Can anybody help me, why the following code is wrong?
VB Code:
  1. Private Sub Textbox4_MouseDown(ByVal Button As Integer)
  2. If Button = 1 Then UserForm2.Show
  3. End Sub

Thanks.

Boris