Your question is not very clear, what do you mean by enumerate?
Guessing, you can get the unformated text using the .Text property of the rtf box. If you want to go through each line then the following gets each line into an array element
Dim arry() as string
Dim i as long
arry = Split (richtextbox.Text,vbcrlf)
Then you can use
For i = 0 to UBound(arry)
Do something with each line
next
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.