PeopleSoft Adoption Made Smooth & Simple!
On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool. Claim Your Free WalkMe Account Now
Sub DeleteFile() Dim fso, sTemp Dim file As String sTemp = Environ("TEMP") file = sTemp & "\" & student_scores.Log Set fso = CreateObject("Scripting.FileSystemObject") If fso.FileExists(file) Then fso.DeleteFile file, True Else MsgBox file & " does not exist or has already been deleted!" _ , vbExclamation, "File not Found" End If End Sub
Add your voice to the tech community where 5M+ people just like you are talking about what matters.
|Outlook owa - how to embed an email from my Inbox into a new email||4||39|
|VBA to trim leading and trailing spaces in all sheets of active workbook.||2||20|
|Problem to macro||5||24|
|Looping through files in a folder VBA||3||15|
Join the community of 500,000 technology professionals and ask your questions.