ik heb dit:
maar of er nu wel of niet een bestand staat in de Dir
hij komt met de MsgBox No files found in the source directory.
/edit [code=vb] werkt niet op dit forum
code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
| If fso.fileexists("\\10.205.50.50\Project\DAYNL\DPR\*.*") = True Then
fso.MoveFile "\\10.205.50.50\Project\DAYNL\DPR\*.*", "\\10.205.50.50\Project\DAYNL\DPR\History\"
FileCopy Dir1.Path & "\" & File1.FileName, "\\10.205.50.50\Project\DAYNL\DPR\" & File1.FileName
Done1.Visible = True
Combo1 = "Daily NL"
Exit Sub
Else
MsgBox "No files found in the source directory.", vbInformation, "Filemove"
End If
Exit Sub |
maar of er nu wel of niet een bestand staat in de Dir
hij komt met de MsgBox No files found in the source directory.
/edit [code=vb] werkt niet op dit forum