Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

macro done without user click

Status
Not open for further replies.

sf123

Programmer
Oct 9, 2002
30
US
I created a macro and assigned it to to a menu item that I created. The problem I am having is that as soon as you go to that menu item and scroll mouse over it the macro gets called. Is there any way that I can only have the macro done if the user clicks on the menu item?
 
Possibly your macro has been attached to the mouse_over event - you need to attach it to the mouse_click event

I've not done much with cb_menus but I would've thought it'd be an option in teh VBEditor Rgds
~Geoff~
 
Hi,

Sounds a bit like a dodgy mouse, or touchpad, is this on a laptop?

I'm not saying it is, and I'm not saying it isn't - so what am I saying?

Check it out on another machine just to make sure

;P
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top