R
Rivers
hi guys i need help a little help
myfile contains a folder path or a file i need a way to determine which one
it is i tried the instr below but found that files with a "." in missed my
loop totally so this doesnot suit my needs is this possible to do?
myFile = Dir(myPath, vbDirectory)
Do While myFile <> "" 'will start LOOP until all files in folder
If InStr(myFile, ".") > 0 Then
myfile contains a folder path or a file i need a way to determine which one
it is i tried the instr below but found that files with a "." in missed my
loop totally so this doesnot suit my needs is this possible to do?
myFile = Dir(myPath, vbDirectory)
Do While myFile <> "" 'will start LOOP until all files in folder
If InStr(myFile, ".") > 0 Then