I have a program that reads image files in a folder and converts them to pdf files. Does anyone know a way to control the sort order by date and time or by name of the filesystem object in the -For each file in files collection. My code below:
'loop through tif files
Set fld = fso.GetFolder(sscantemp)
Set tFils = fld.Files
For Each tfil In tFils
...
...
Next
I need to convert the files in some known order because I am combining them into one pdf file along with previously converted files.
Thanks,
Cubby
'loop through tif files
Set fld = fso.GetFolder(sscantemp)
Set tFils = fld.Files
For Each tfil In tFils
...
...
Next
I need to convert the files in some known order because I am combining them into one pdf file along with previously converted files.
Thanks,
Cubby