"Highlight" selected text boxes

A

Anauna

I may have seen the solution to my problem a while back but of course I
cannot located it now. Sorry if this is a duplicate question.

Word 2003
Form with default text in text boxes.

I would like to have the selected text box text highlighted in blue like it
does in windows. The user could just overtype the default text.


Thank-you,
 
B

Ben M

Try...

With frmName.txtTextBoxName
.SetFocus
.SelStart = 0
.SelLength = Len(frmName.txtTextBoxName)
End With
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top