Count number of lines/returns in a textbox
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. Original Author: Jono Spiro Inputs USAGE–countLines(the textbox)EXAMPLE–countLines(text1) Returns Returns the number of lines in a textbox. Code Public Function countLines(textBox As textBox) As LongDim A%, B$A% = 1B$ = textBox.textDo… Read More »