Is there something wrong with this function:
If there is something wrong then please tell me! Is there a better way of implementing something like this!Code:Function RetLine(Text As String, Line As Long) As String Dim Lines As String Lines = Split(Text, vbCrLf) RetLine = Lines(Line) End Function



Reply With Quote