Your right, how dumb am I? It didn't work with the old code!
Could you help me with the removal of the original file in the temp folder? Here's the code I tried:
-------------------------------------------
Private Sub cmdtransfer_Click()
Dim objFSO As FileSystemObject
Dim Msg, title, Response, Style As String
Msg = "This option will overwrite older files, do you wish to proceed?"
title = "Warning!"
Style = vbYesNo + vbCritcal + vbDefaultButton2
Response = MsgBox(Msg, Style, title)
If Response = vbYes Then
Set objFSO = CreateObject("Scripting.FileSystemObject"

objFSO.CopyFile Me!OFT_Temp_Folder & "*.*", Me!OFT_Dest_Folder
Set objFSO = Nothing
objFSO.DeleteFile Me!OFT_Temp_Folder & "*.*"
Set objFSO = Nothing
MsgBox "Files succesfully transfered.", vbOKOnly, "Success"
Else:
MsgBox "Operation cancelled.", vbOKOnly, "Cancelled"
End If
End Sub
-------------------------------------------
I get the error 'object variable or with block variable not set'.