Actually, if this could happen with multiple text boxes, it would be best to create a Function and just call that function with the specified control when need be. Something like:
CODE
Function SelectText(frmTxt As Control)
With frmTxt
.SetFocus
.SelStart = 0
.SelLength = Len(frmTxt)
End With
End Function
Then, you could just call this function whenever needed like :
CODE
Call SelectText(Me.Textbox1)
HTH