Dante Amor respondió:
Try this #If VBA7 Or Win64 Then Private Declare PtrSafe Function SendMessage Lib "user32" Alias "SendMessageA" (ByVal hwnd As LongPtr, ByVal wMsg As LongPtr, ByVal wParam As LongPtr, lParam As Any) As LongPtr #Else Private Declare Function...