jmentor
01-31-2006, 06:26 AM
Is there a way of counting the number of lines
in a text file and then to abort a process if number
of lines exceed 1.
Such as
If CountLines(strFileName) > 1 then
MsgBox "Text"
Exit of abort
I already have a variable declared for the filename
Any help greatly appreciated
in a text file and then to abort a process if number
of lines exceed 1.
Such as
If CountLines(strFileName) > 1 then
MsgBox "Text"
Exit of abort
I already have a variable declared for the filename
Any help greatly appreciated