I found a wonderful little piece of code to remove that nasty #Error in calculated text boxes...but I don't know where to put it to make it work.
I tried putting it in the default property...it's a function call
Function removeerror(testvalue As Variant) as Variant
If Not(IsNumeric(testvalue)) Then
removeerror=0
Else
removeerror=testvalue
End If
End Function
I have the Default property set to
=removeerror([txtbox])
Grrrrrrr.
I know when I dish this out to my staff and they see that #Error code they are going to freak...
I tried putting it in the default property...it's a function call
Function removeerror(testvalue As Variant) as Variant
If Not(IsNumeric(testvalue)) Then
removeerror=0
Else
removeerror=testvalue
End If
End Function
I have the Default property set to
=removeerror([txtbox])
Grrrrrrr.
I know when I dish this out to my staff and they see that #Error code they are going to freak...