H
Hatman50
Hello,
I am using Access2003 and i am trying to rename all files in a folder
using VBA.
Is there a way to iterate thru the filenames and rename them to
something else?
So as an example...
If I have a directory called "N:\ABC Winter\Monday
and in that directory there are 2 txt files, 3 exl files and 4 pdf
files, I want to reanme each file and add a specific code such as 123_
at the front of the filename so that the original "filename.txt" would
now be "123_filename.txt" etc. Can this manipulation be done within
VBA? And if so how? I've been playing with some code but it is not
working.
Thank you
I am using Access2003 and i am trying to rename all files in a folder
using VBA.
Is there a way to iterate thru the filenames and rename them to
something else?
So as an example...
If I have a directory called "N:\ABC Winter\Monday
and in that directory there are 2 txt files, 3 exl files and 4 pdf
files, I want to reanme each file and add a specific code such as 123_
at the front of the filename so that the original "filename.txt" would
now be "123_filename.txt" etc. Can this manipulation be done within
VBA? And if so how? I've been playing with some code but it is not
working.
Thank you