I have two userforms: frmTradeSickOther and frmOther. When I click on one of the options in frmTradeSickOther, it'll call frmOther. I am trying to get the user to enter some text in a textbox in frmOther and then click on the button btnAddComment. If the user hasn't typed anything in the textbox, a message box will come up telling the user to type something in.
My Problem: When I "setfocus" on the textbox, which is called txtOther, the cursor just blinks in the center, but I cannot actually type in the textbox until I actually click within the textbox. But, when the message box pops up and the user is returned to frmOther to type something in, the cursor then goes to the right place, which is the top-left corner. Does anyone know why this is happening?
Here is how I call frmOther from frmTradeSickOther:
Private Sub btnAddComment_Click() On Error Resume Next
txtOther.Value = Trim(txtOther.Value)
If Me.txtOther = vbNullString Then
MsgBox "Please enter the necessary information.", vbInformation, "Required Field"
Private Sub optOther_Click()