Commits

Christian Specht  committed 28ed6d7

alphabetic order

  • Participants
  • Parent commits db7c6aa

Comments (0)

Files changed (2)

File readme-full.md

 
 - **`Directory_Exists`**  
 Returns True if the specified directory exists.
+- **`File_Delete`**  
+Deletes a file. If the file does not exist, nothing happens.
 - **`File_Exists`**  
 Returns True if the specified file exists.
-- **`File_Delete`**  
-Deletes a file. If the file does not exist, nothing happens.
 - **`File_ReadAllLines`**  
 Reads a text file and returns a string array, each array item containing a line from the file.
 - **`File_ReadAllText`**  

File vba-helpers.bas

 '# VBA Helpers
 '# A collection of useful VBA functions
 '#
-'# Version 20121227.215544
+'# Version 20121228.001859
 '# (the version number is just the current date/time)
 '#
 '# Copyright (c) 2012 Christian Specht
     
 End Function
 
-Public Function File_Exists(ByVal path_vbah As String) As Boolean
-    'Returns True if the specified file exists.
-    
-    File_Exists = (Dir(path_vbah) > "")
-    
-End Function
-
 Public Sub File_Delete(ByVal path_vbah As String)
     'Deletes a file. If the file does not exist, nothing happens.
 
 
 End Sub
 
+Public Function File_Exists(ByVal path_vbah As String) As Boolean
+    'Returns True if the specified file exists.
+    
+    File_Exists = (Dir(path_vbah) > "")
+    
+End Function
+
 Public Function File_ReadAllLines(ByVal path_vbah As String) As String()
     'Reads a text file and returns a string array, each array item containing a line from the file.