I'm trying to close access (Application.Quit
) after running all functions.
VBA close access after all functions finished has been a reference for me.
but when I Declare Sub Sleep Lib "kernel32" (ByVal dwMilliseconds As Long)
, It's giving me the following error:
The code in this project must be updated for use on 64 bit systems.
Is there any replacement of this code to do run all functions before completely closing access?