When I try to rename a file I get an error that says 'file already exists'. Is there any way that I can force it to over write the existing file?
I know I can do it by using this code:
newFileName = "C:\Program Files\Microsoft Visual Studio\VB98\Projects\Syste
But I would prefer to just force it to over write it by using the code below.
oldFileName = "C:\Program Files\Microsoft Visual Studio\VB98\Projects\SystemIDs\SystemName.txt"
newFileName = "C:\Program Files\Microsoft Visual Studio\VB98\Projects\SystemIDs\SystemName.csv"
Name oldFileName As newFileName