Option Explicit
Sub CopyFileRev2()
Dim fso As Object
Dim sSFolder As String, sDFolder As String, sFile As String
Dim i As Long, lastrow As Long
ThisWorkbook.Worksheets("Sheet1").Activate
'Find The Last Row
lastrow = Range("A" & ThisWorkbook.Worksheets("Sheet1").Rows.Count).End(xlUp).Row
'Create FileSystem Object
Set fso = CreateObject("Scripting.filesystemobject")
For i = 2 To lastrow
'Source Folder Path
sSFolder = ThisWorkbook.Worksheets("Sheet1").Range("B" & i).Value
'Destination Folder Path
sDFolder = ThisWorkbook.Worksheets("Sheet1").Range("C" & i).Value
'FileName
sFile = ThisWorkbook.Worksheets("Sheet1").Range("A" & i).Value
'Check if source file exists or not
If Not fso.fileexists(sSFolder & sFile) Then
MsgBox "Specified File Not Found" & sFile, vbInformation, "Not Found"
Else
'We found the file so lets copy it but before copying see if it already exists
If Not fso.fileexists(sDFolder & sFile) Then
fso.CopyFile (sSFolder & sFile), sDFolder, True
Else
MsgBox "Specified File Already Exists In The Destination Folder", vbExclamation, "File Already Exists"
End If
End If
Next i
End Sub