I'm attempting to select the text in a textbox when an error is found while executing a commandbutton click event. The following code works great at highlighting the background of the textbox where the error was and also focuses on the textbox...

What I'd like to do, if possible, is to select that text so that the user sees what he already answered and just has to type over it without taking out the previously entered text. I know I could set the textbox back to "" but I do want the user to see what he had entered previously. I've looked in the Properties window and don't see anything that might do that.

ElseIf TBT1 = "" Or TBT1 <= 0 Or TBT1 >= 1 Then
    TBT1.BackColor = RGB2
    MsgBox "YOU NEED TO ENTER THE THICKNESS OF THE ROOT RIB IN DECIMAL FORMAT BETWEEN THE VALUES OF 0 AND 1!", vbOKOnly + _
    vbInformation, "THICKNESS OF ROOT RIB NOT ENTERED!"
    TBT1.SetFocus
    Exit Sub
Else
End If
RGB2 is set an RGB number (orange red). There are several of these tests in the procedure but only posted one.

Might be asking for something that can't be done, but won't know until the guru's tell me it can't done.....

TIA

Don