Hello
The following code is returning error 76 Path not found ?
I don’t understand why, the code looks good to me…..
Private Sub cmdLoad_Click()
Dim SrcFolder As String
Dim MainFolder As String
Dim N As Integer ‘ Number
Dim fn As String ‘ FileName
SrcFolder = “L:mmpdfArchive” & Me.txtEstArch.Text & “”
MainFolder = “L:MMPDFConsoleFiles” & Me.txtEstArch.Text & “”
For N = 0 To lstArchive.ListCount – 1
If lstArchive.Selected(N) Then
fn = lstArchive.List(N)
End If
FileCopy SrcFolder & lstArchive.List(N), MainFolder & fn
Next N
For N = 0 To lstArchive.ListCount – 1
If lstArchive.Selected(N) Then
Kill SrcFolder & lstArchive.List(N)
End If
Next N
Me.MousePointer = vbDefault
Unload Me
Call Form1280Image.cmdList_Click
End Sub