Copy File API Windows 2012 Server, 64 bit

cheer

Registered User.
Local time
Today, 21:49
Joined
Oct 30, 2009
Messages
222
Can anyone suggest how to modify the below to suite to the MS Access 2016, 64 bit and Windows 2012 Server, 64 bit

Public Declare PtrSafe Function CopyFile Lib "kernel32" Alias "CopyFileA" (ByVal lpExistingFileName As String, _
ByVal lpNewFileName As String, ByVal bFailIfExists As Long) As Long
 
Im not in a computer right now but for the meantime you can use VBA.FileCopy.
 
I check and found you're syntax is correct.
 

Users who are viewing this thread

Back
Top Bottom