Select text in inputform

O

Otto Sonneveld

Hello,

How can I program an input box, so that the pre defined text is already
selected.
The purpose is that de predefinned text is deleted after the first
keystroke.

Otto
 
J

Jezebel

If you're talking about a textbox on a UserForm, use the SelStart, SelText,
and SelLength properties.
 

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