I have a text file called SampleTestFile.ghi
. After this file is processed by a program, it is renamed and moved into another folder. The naming convention used when renaming the file is *.abc
So I have the file name (SampleTestfile.ghi
), I have the naming convention (*.abc
), but how can I convert the original file name into the processed filename using VBA? Is there a way I can say
ProcessFileName = "SampleTestFile.ghi" & "*.abc"
''and get the correct answer of SampleTestFile.abc ?