I have to refactor an old macro which are failing in newer MS-Office 365 version.
For kernel32 and User32 I have declared the function variable at the top like: