dj44
11-29-2017, 04:15 AM
Good Morning,
how may i close an open text file on my desktop
Sub Close_File()
Dim FilePath As String
'File Path of Text File
FilePath = "C:\Users\DJ\Desktop\LA122.txt"
'FilePath.Close
Close #1
End Sub
I dont need to open it - I just want to close the already open file without any prompts or anything to save
how may i close an open text file on my desktop
Sub Close_File()
Dim FilePath As String
'File Path of Text File
FilePath = "C:\Users\DJ\Desktop\LA122.txt"
'FilePath.Close
Close #1
End Sub
I dont need to open it - I just want to close the already open file without any prompts or anything to save