I'd like to know if there's a convenient way to sort a returned list alphabetically in VBA when the 'Dir' command is used. For example, if I find files using:
strPath = "C:\path\to\pics\"
strFileSpec = "*.png"
' -------------------------- '
strTemp = Dir(strPath & strFileSpec)
how can I iterate through them alphabetically?
Thanks in advance!