How to Clear the contents of a file
Posted on January 4, 2009
1 2 3 4 5 6 7 | 'Text File Handling - How to Clear the contents of a file Private Sub clearFile(ByVal strPath As String) If Not Len(Dir$(strPath)) = 0 Then Open strPath For Output As #1 Close #1 End If End Sub |