Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to quickly check if a file has 1 or more lines of text?

Status
Not open for further replies.

PiotrMP006

Programmer
Sep 17, 2021
2
PL
Hi

How to quickly check if a file has 1 or more lines of text?

I'm not talking about counting all lines of text, just a quick check if the file has 1 or more lines.

Please help me
 
For multiline text [tt]UBound(Split(TestedText, vbCrLf))[/tt] is greater than 0.

combo
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top