Public Function CountLines( _
ByVal vValue As Variant _
) As Variant CountLines("One." + vbCrLf + "Two") = 2
CountLines("One." + vbCrLf + "Two" + vbCrLf) = 2See also: CountWords Function
CountStrings FunctionvValue: The string containing the lines of text to be counted. Function returns Null if vLine is Null or cannot be fixed up to a String. Uses the CountStrings function to determine the number of line terminators within the string. Copyright 1996-1999 Entisoft
Entisoft Tools is a trademark of Entisoft.