R
ragtopcaddy via AccessMonster.com
Here's my code:
strFileName = Dir(strPath & "*.xls")
Do While strFileName <> vbNullString
strFullPath = strPath & strFileName
'Do stuff here
strFileName = Dir
Loop
The problem is, the files are skipping around. The filename goes from "0707"
to "0709" and skips "0708". any ideas?
strFileName = Dir(strPath & "*.xls")
Do While strFileName <> vbNullString
strFullPath = strPath & strFileName
'Do stuff here
strFileName = Dir
Loop
The problem is, the files are skipping around. The filename goes from "0707"
to "0709" and skips "0708". any ideas?