0
I need to lock the commands in my macro in Excel. I am using the following function:
Public Declare Function BlockInput Lib "user32" (ByVal fblock As Long) As Long
On the computer with 64 bit win works normally but when I passed the spreadsheet to a 32 bit PC the blockinput function stopped working, but without presenting any error and the rest of the program works normally. It is extremely necessary for me to work this function and block the input after the macro execution, even on 32 bit Pc. Any idea what might be going on? Thank you!
According to the function documentation Blockinput It only works on Windows 2000 Professional platforms for the Client and Windows 2000 Server layers for the Server layers. The documentation does not mention limitations as to the word size, but understands that this function is supported on 32-bit word machines because function is stated in the library
User32.dll
.– Augusto Vasques