A
Al
Hello folks,
I have a textbox that is behaving weird.
I created a form and after using it for a while had to make some changes.
The form has two Frames - Frame1 & Frame2. I moved Textbox10 from frame2 to
Frame1 and now for soem reason its not storing the variabe that I enter in
the userform. Hence when I click on the "OK" button it does not insert the
variable into the document. I have also put a line in that reads : msgbox
TextBox10 which confirms the variable is blank.
Interestingly I also have the following code;
Private Sub
TextBox10_Exit(ByVal Cancel As MSForms.ReturnBoolean)
TextBox10=StrConv(TextBox10, vbProperCase)
MsgBox TextBox10.Value
End Sub
Which stores the code just fine!! Its when I hit the OK button that the
variable is not stored and inserted into the document.
Does anyone know why? I have a funny feeling it is related to the change of
the Frames?
Cheers
-Al
I have a textbox that is behaving weird.
I created a form and after using it for a while had to make some changes.
The form has two Frames - Frame1 & Frame2. I moved Textbox10 from frame2 to
Frame1 and now for soem reason its not storing the variabe that I enter in
the userform. Hence when I click on the "OK" button it does not insert the
variable into the document. I have also put a line in that reads : msgbox
TextBox10 which confirms the variable is blank.
Interestingly I also have the following code;
Private Sub
TextBox10_Exit(ByVal Cancel As MSForms.ReturnBoolean)
TextBox10=StrConv(TextBox10, vbProperCase)
MsgBox TextBox10.Value
End Sub
Which stores the code just fine!! Its when I hit the OK button that the
variable is not stored and inserted into the document.
Does anyone know why? I have a funny feeling it is related to the change of
the Frames?
Cheers
-Al