B
Bob Barnes
...code snippet..
fname = Dir("C:\Bob\*.*")
If fname = "" Then MsgBox "There Are No Files On The SD Card.", , "": Exit Sub
If fname <> "" Then..
...............................end snippet...
When running..
fname = Dir("C:\Bob\*.*")
...and there is at least one file in the Folder, sometimes fname will show "".
My code includes deleting all files in that Folder after I run code to
Import the .txt files into Access. Could that be causing the fname =
""..when that occurs??
Is there any other code to 100% see a fname = ""....when it is that?
TIA - Bob
fname = Dir("C:\Bob\*.*")
If fname = "" Then MsgBox "There Are No Files On The SD Card.", , "": Exit Sub
If fname <> "" Then..
...............................end snippet...
When running..
fname = Dir("C:\Bob\*.*")
...and there is at least one file in the Folder, sometimes fname will show "".
My code includes deleting all files in that Folder after I run code to
Import the .txt files into Access. Could that be causing the fname =
""..when that occurs??
Is there any other code to 100% see a fname = ""....when it is that?
TIA - Bob