Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Error 438 on ActiveControl.Value

Status
Not open for further replies.

oxicottin

Programmer
Jun 20, 2008
353
US
Hello, I have a form that has a control and its value is a decimal. I want to move that value to the control I opened from and I keep getting an error:

Run-time error '438':
Object doesn't support this property or method

Debug takes me to my only vba im using on the button on the form.

Private Sub Command45_Click()
Screen.ActiveControl.Value = txtDecimal
End Sub

Any ideas? Thanks....

Thanks,
SoggyCashew.....
 
Ok this worked, Thanks again!

=Int([txtDiff]/60*100)/100
OR
=Fix([txtDiff]/60*100)/100

Thanks,
SoggyCashew.....
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top