I have a subroutine, SnapshotList that should get a list of files from a directory. However its DIR() statement is "hijacked" by a function called FileExist. Here is the code:
SnapshotList runs OK up to this line: Shtu.cells(RowNumS, "D") = FileName.Please Login or Register to view this content.
At that point execution jumps to FileExist and since it also uses DIR(), the FileName = DIR() statement in SnapshotList returns "" and execution stops.
What is calling FileExist? How do I stop FileExist from running?
I would post the workbook, but there is way too much proprietary information to sanitize it.
Bookmarks