I have this problem:
User types a formula into text box
click a button
VBA takes the text from text box
performs some operations on it
and prints modified formula into a Label
when i try to extract text form text box it gives me an error
the folowing is just to extract the text and save int into string called "syn"
"TextSyn" is the name of the textBox
the error i get is Compile Error: Object Required
and "syn =" is highlited
i don't understand this error because that how i always extract data from controls, it's only when i try to extract from textbox it gives me an error.
so if anyone know what the problem is and how to fix it i'd really appreciate that.
thanks in advance
User types a formula into text box
click a button
VBA takes the text from text box
performs some operations on it
and prints modified formula into a Label
when i try to extract text form text box it gives me an error
the folowing is just to extract the text and save int into string called "syn"
PHP:
Private Sub Command80_Click()
Dim syn As String
Me!TextSyn.SetFocus
Set syn = Me!TextSyn.text
End Sub
the error i get is Compile Error: Object Required
and "syn =" is highlited
i don't understand this error because that how i always extract data from controls, it's only when i try to extract from textbox it gives me an error.
so if anyone know what the problem is and how to fix it i'd really appreciate that.
thanks in advance