Results 1 to 19 of 19

Thread: Why runs code twice in case of Mousedown event.

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    VBAX Tutor
    Joined
    Jun 2005
    Posts
    214
    Location

    Why runs code twice in case of Mousedown event.

    Hi,

    I included an example to demonstrate what i mean.
    Click on the button "Click on me" then a Userform will show up.
    Right Click on a textbox. The message 'hello' appears. Why is the code triggered twice? How can I stop this. I want de message to appear only once.

    Application.EnableEvents = false doesn 't help here.

    I hope one of you can help.
    Attached Files Attached Files

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •