kdjonesmtb2
Technical User
Receiving the following error:
Path not found
Line (681): "objFSO.DeleteFolder strFolderPath, True".
If objRadioButton3.checked then
msgbox "You have selected the option to delete the files in the archive"
Dim Input5
Input5 = InputBox("Input Archive Folder Name to delete")
MsgBox ("You entered: " & Input5)
Dim strFolderPath
strFolderPath= "\\ikanas267\Documents\kgittensjones\My Documents\QTP 834\" & Input5 &"\"
msgbox(strFolderPath)'string is populated with path
Dim objFSO
Set objFSO = CreateObject ("Scripting.FileSystemObject")
If objFSO.FolderExists(strFolderPath) Then
objFSO.DeleteFolder strFolderPath, True
End If
Set objFSO = Nothing
End if
Path not found
Line (681): "objFSO.DeleteFolder strFolderPath, True".
If objRadioButton3.checked then
msgbox "You have selected the option to delete the files in the archive"
Dim Input5
Input5 = InputBox("Input Archive Folder Name to delete")
MsgBox ("You entered: " & Input5)
Dim strFolderPath
strFolderPath= "\\ikanas267\Documents\kgittensjones\My Documents\QTP 834\" & Input5 &"\"
msgbox(strFolderPath)'string is populated with path
Dim objFSO
Set objFSO = CreateObject ("Scripting.FileSystemObject")
If objFSO.FolderExists(strFolderPath) Then
objFSO.DeleteFolder strFolderPath, True
End If
Set objFSO = Nothing
End if