Announcements
Attention for Customers without Multi-Factor Authentication or Single Sign-On - OTP Verification rolls out April 2025. Read all about it here.
RoyWickrama_RWEI
in reply to: GeorgK

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