- Home
·
- Miscellaneous
·
- This Code Will Tell you How To Delete file from File1 Box it will ask yes or no if user click yes t
This Code Will Tell you How To Delete file from File1 Box it will ask yes or no if user click yes t
This Code Will Tell you How To Delete file from File1 Box it will ask yes or no if user click yes the file will be deleted and no as you know
Rate This Code Will Tell you How To Delete file from File1 Box it will ask yes or no if user click yes t
(1(1 Vote))
Dim Prompt As String
Dim Reply As Integer
Prompt = "Are You Sure You Want To Delete"
Reply = MsgBox(Prompt, vbYesNo)
If Reply = vbYes Then
Kill (File1.Path & "\" & File1.FileName)
File1.ListIndex = File1.ListIndex + 1
File1.Refresh
Else
Resume Next
End If
This Code Will Tell you How To Delete file from File1 Box it will ask yes or no if user click yes t Comments
No comments yet — be the first to post one!
Post a Comment