Hi,
I am trying to save a group of files created on the same day in the same folder. Since these files are produced daily, I am trying to group these filesunder in the same folder using date as folder name .
The folder was created by using Dir(Path,vbDirectory) function. But what strange is that after this folder is created, it is still taken by the vba that the folder does not exist and it creates the folder over and over again. I am thinking about if vb can not recognize the folder due to the folder name in date format.
Can any one come up any solution please? Thanks a lot.
JY
I am trying to save a group of files created on the same day in the same folder. Since these files are produced daily, I am trying to group these filesunder in the same folder using date as folder name .
The folder was created by using Dir(Path,vbDirectory) function. But what strange is that after this folder is created, it is still taken by the vba that the folder does not exist and it creates the folder over and over again. I am thinking about if vb can not recognize the folder due to the folder name in date format.
Can any one come up any solution please? Thanks a lot.
JY