I have some Windows API Declaration statements at the top of my VBA code module. I've used the approach shown below to make them work for both 32 and 64 bit systems. But since I upgraded my computer recently (using a 64-bit desktop), I notice that the 32 bit declare statements are now giving an error (showing up in red font in my code editor). And anywhere in the code where I call the APIs is now giving me a compile error as well.
Anybody recognize what is going on and know how to fix this?