i have double checked the paths, but cannot determine the cause of this error
Dim OldFleName As String
Dim NewFileName As String
debug results
OldFileName: C:\Program Files (x86)\Microsoft Visual Studio\VB15\Tasks\Personal\Tasks\Yr07-04-2016.rtf
NewFileName: C:\Program Files (x86)\Microsoft Visual Studio\VB15\Tasks\Personal\Deleted Tasks\Yr07-04-2016.rtf
Name OldFileName As NewFileName
what could be wrong ?