02-13-2019
09:20 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
02-13-2019
09:20 PM
Great help. It works.
Thanks. I added the following in my code:
Sub oDelete_ex_Notepad(oTextSave As String) 'To delete oTextSave if existing. Dim FileDelete As String FileDelete = "C:\testDelete.txt" If System.IO.File.Exists(oTextSave) = True Then System.IO.File.Delete(oTextSave) MsgBox("File Deleted") End If End Sub