mackensteff
Board Regular
- Joined
- Feb 9, 2010
- Messages
- 74
- Office Version
- 365
- Platform
- MacOS
Hello,
Is it possible by vba to restrict the mouse movements to a given area of the screen. Ideally, I would like the cursor to be confined to a large button area once the button is pressed and triggers a macro, but by pressing esc or a similar key regain free movement, but then be confined to the button area once it is pressed again. Is this remotely possible (or does that even make sense)?
Thanks!!
Is it possible by vba to restrict the mouse movements to a given area of the screen. Ideally, I would like the cursor to be confined to a large button area once the button is pressed and triggers a macro, but by pressing esc or a similar key regain free movement, but then be confined to the button area once it is pressed again. Is this remotely possible (or does that even make sense)?
Thanks!!