Ok in my HTML editor i run a sub to capotlaize the words, but every time it runs it puts the caret at the beginning of the text box. What i want to do is detect where the caret is at the beggining of the sub and put it back at the end of the sub using SelStart. But how do i detect where the caret is?