I have a multiline textbox (with enable to press the Enter key), and I want to loop through every line and get the full line text.
Please note that the textbox word wrap is enabled and if the new line created by wrapping it will be similar to new line (chr(10)), In other words, I need to grab every line of text as it display on the screen and it doesn't matter if its a new line that created by pressing the "Enter" key or just the text wrapping created a new line.
I need somthing like this pseudo code:
Please note that the textbox word wrap is enabled and if the new line created by wrapping it will be similar to new line (chr(10)), In other words, I need to grab every line of text as it display on the screen and it doesn't matter if its a new line that created by pressing the "Enter" key or just the text wrapping created a new line.
I need somthing like this pseudo code:
VBA Code:
for each line in textbox
Debug.Pring line
next