Hi
In VB macro, looking for an easy way to copy a file in one directory to another directory and overwriting the file in the destination directory. Any ideas, the web has suggested below which give me an error!
a = "G:\Database\t.txt"
b = "G:\Database\Archive\tcopy.txt"
My.Computer.FileSystem.CopyFile( a , b , _
FileIO.UIOption.OnlyErrorDialogs, _
FileIO.UICancelOption.DoNothing)
Thanks, copying files is much cleaner than opening the file and copying the cells!
Greg
Bookmarks