Macro - Sort File
Macro - Sort File Benford's Law Fraud detectionDownloads First digits lawSite Map
Home Page | Population | Sampling | Fraud | Other | Tutorial | Macros
Macro - Sort File
Sub RunSort()
'
' run the sort routine
'
' Infile - name of the file to be checked
' OutFile - name of the file to contain the sorted result
' SortKeys - the sort sequence for the input file
' Note that the sequence of parameters does not matter
'
Dim oEZ As New cEZ

oEZ.Sort _
Infile:=BASEDIR & "clmdensp.txt", _
OutFile:=BASEDIR & "clmdensp.srt", _
SortKeys:="billprov + a paidamt - n"

LoadSheet _
ToSheet:="$Debug", _
Infile:=BASEDIR & "clmdensp.srt"

Set oEZ = Nothing
End Sub

 

 

 

 

Main Page

Complete Auditor resources
Links | Privacy Policy | FAQ | Downloads | Trademarks
Web Page last updated on 04-20-2008
© EZ-R Stats, LLC 2005-2007