Todd Huttenstine

  • Thread starter Thread starter Todd Huttenstine
  • Start date Start date
T

Todd Huttenstine

what is the code to select all the text in a textbox?

Thank you

Todd Huttenstine
 
Todd,

Try

With Me.TextBox1
.SelStart = 0
.SelLength = Len(.Text)
End With


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com
 

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

Similar Threads

LastName, FirstName format 2
Selecting a listbox item event 3
Hard Return in large textbox 5
Distribution Lists 1
Delete Folder 2
Bold certain text in textbox 1
Selecting or Entering a Textbox 2
Reversing Words 5

Back
Top