I’m trying to run code like the above. I know about PTRSAFE for 64 bit VBA like the third file on this webpage which works on my 32 bit and 64 bit Excel 2016-2019 versions.
However, on one of my PC’s, I cannot run the Mouse Event Left click because I get an error message saying, “run-time error 453 can't find dll entry point in user32.DLL.” I can’t set my Cursor position fine using standard integers but I cannot mouse left click on this pc or GETcursorPOS.
Please help. I tried MouseKeys with a Sendkeys even and would send \5 but that just sends the characters \5 to my active internet browser’s website address field instead of clicking the mouse where I want it to.