I have created a macro that opens a *.TXT file, reformats it and saves a *.CSV file. I need to delete the original *.txt file and rename the *.CSV file to the "TXT name. I can delete the "txt" file with the "Kill" command, because I can use the wildcard "*" in the Kill command. I need to use the wildcard because the names of the file will vary. But I can't use the wildcard in the "Filecopy" command. I was looking to "Kill" the "Txt" file, "filecopy" the "CSV" file to a "txt" file then "kill" the "CSV" file. Since I can't use a wildcard and the name will be unknown until the operation takes place, anyone have any ideas??
THANKS
THANKS