I have this code in VBA:
Dim fso As Object
Set fso = VBA.CreateObject("Scripting.FileSystemObject")
fso.CopyFile(source, destination, true )
Where source and destination are the name of a file to be copyied and a file that already exists but should be replaced.
This worked before on a computer with Windows 7, but now it is installed on a new computer with Windows 8.1 and it doesn't work, but don't get any error too.
What could be happening?
Is this away to detect an error if it is (for example a lag of permissions) ?
Any help would be appreciated. Thank you.