OK. You can accomplish what you want by embedding the ChatText control in a subform and placing the subform on your main CHAT form. When the focus moves to the ChatTextToAdd control on the main form the subform control will retain its state. I have tested this and it works.
I simply added an unbound text box control to an unbound form (this is the subform named Form116). On the main form, on the AfterUpdate event of the ChatTextToAdd control run code to update the unbound text box on the subform. Here's what I used to experiment
Private Sub ChatTextToAdd_AfterUpdate()
On Error GoTo Err_ChatTextToAdd_AfterUpdate
Dim intLength As Integer
Dim varText As Variant
varText = "=" & Chr(34) & Me.ChatTextToAdd.Value & Chr(34)
Me.Form116.Form.ChatText.ControlSource = varText
Me.Form116.Form.ChatText.SetFocus
intLength = Me.Form116.Form.ChatText.SelLength
Me.Form116.Form.ChatText.SelStart = intLength
Exit_ChatTextToAdd_AfterUpdate:
Exit Sub
Err_ChatTextToAdd_AfterUpdate:
MsgBox Err.Number & ", " & Err.Description, , "Error"
Resume Exit_ChatTextToAdd_AfterUpdate
End Sub
OM Gang