Hi Again,
Also, did not take notice but the variable: OValue if that is using correct
convention then an assignment to an object is going on and that is a very
strong type mismatch and will error every time. So you have to look at the code
and see if he is actually assigning an object.
'
Bruce
Sent: Saturday, March 02, 2013 2:18 PM
Subject: Re: script error
Hi,
The only thing I could think that might be causing this is the inputbox
only assigns strings and if it is assigning to a numerical value it will fail.
Strict on insures this will happen.
Now, is the OValue a type string? Or is it a numerical type?
You have to use conversion functions such as CDbl( inputbox( prompt)) or
CInt or something like that if the OValue is of type numeric...
Line: 417 -
ovalue = InputBox("enter value")
Sent: Friday, March 01, 2013 11:40 PM
Subject: RE: script error
Hi Bruce
I do not have option stric on. So what do you think?
Robert Guyette