Dim FilestoCopy As String
Dim NewCopies As String
FilestoCopy = "C:\Users\Documents\*.txt"
NewCopies = "D:\New\Documents\"
If System.IO.File.Exists(FilestoCopy ) = True Then
System.IO.File.Copy(FilestoCopy , NewCopies )
MsgBox("File Copied")
End If
I was wondering how to switch this to copy all .txt file from FilestoCopy to NewCopies