VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

Count number of lines/returns in a textbox

Jono Spiro  (4 Submissions)   String Manipulation   Visual Basic 3.0   Unknown Difficulty   Wed 3rd February 2021

Simply counts the number of lines in a textbox (the textbox should be multiline=true, otherwise it is pretty useless). Put this in a module so it can be reused.

Inputs
USAGE--countLines(the textbox) EXAMPLE--countLines(text1)

Returns
Returns the number of lines in a textbox.

Rate Count number of lines/returns in a textbox (4(4 Vote))
Count number of lines/returns in a textbox.bas

Count number of lines/returns in a textbox Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters