Encountering Run time error 435 can’t find DLL entry point GetCursorPos in user 32 when operating on MOUSEEVENTS .
I am trying to create a basic excel macro sheet for my use but I get “ Run time error 435 can’t find DLL entry point GetCursorPos in user 32 “ when I try to run the following code :
I got this code off the web. I have little knowledge of coding and I’m totally novice to VBA.
Also as an alternative, I tried another code a smaller version which does less than the above one.
This one too ends up with “ Run time error 435 can’t find DLL entry point SetCursorPos in user 32 “
The system which I tried these codes on is running on Win 10 enterprise which has office 365.
However, when I tried it on two different machines running on Win 7 and 8 (office 2010 on both ) it runs perfectly fine.
I even toned down the macro security settings to enable all macros and trust access to the VBA project object model for the Win 10.
Basically, these codes operate the mouse cursor with the help of macros. What could be the reason I get this error?
Is this because of Antivirus? Is there any other way to do this without using a third-party app installation.?
Please provide any solutions.
Bookmarks