Is there a way to calculate what text in the RTB is currently viewable to the user. I am writing a routine and only want to work on what the user is viewing.
Thanks in advance,
Printable View
Is there a way to calculate what text in the RTB is currently viewable to the user. I am writing a routine and only want to work on what the user is viewing.
Thanks in advance,
Not sure, but try this:
VB Code:
MsgBox RTB.SelText
I dont necessarily want what the user has selected, I want what is currently visible on the screen, not all of the text in the RTB. Basically I will calculate this every time they scroll and rerun my function. I dont even need the text necessarily, just the starting position and ending position would work.