sja13
Professional Idiot
- Local time
- Today, 13:50
- Joined
- May 3, 2017
- Messages
- 63
I have a "main" folder, in which there are subfolders.
I have VBA to get the name of every subfolder present in the main folder, but I wondered if there is a way I can get the names of the subfolders returned in "Date Created" sequence, instead of alphabetical sequence?
I know I can write VBA to recover the folders' creation dates into an array, then sort the array, but I wondered if there was any way to modify an attribute in the main folder (similar to clicking on Date Created in Windows Explorer) to achieve my aim?
I've tried using Watch to examine the main folder's attributes when Dim'd as Folder or Dim'd as Object, but can't find anything which looks like it could be modified to achieve my aim.
Any ideas?
I have VBA to get the name of every subfolder present in the main folder, but I wondered if there is a way I can get the names of the subfolders returned in "Date Created" sequence, instead of alphabetical sequence?
I know I can write VBA to recover the folders' creation dates into an array, then sort the array, but I wondered if there was any way to modify an attribute in the main folder (similar to clicking on Date Created in Windows Explorer) to achieve my aim?
I've tried using Watch to examine the main folder's attributes when Dim'd as Folder or Dim'd as Object, but can't find anything which looks like it could be modified to achieve my aim.
Any ideas?