At 2:55 AM +0100 4/13/06, Carlos M wrote:
The error is a "TypeMismatchException" - not a "IllegalCastException".
That'll happen when you have a Variant that can't be converted to a double, and nonetheless convert it to a double (which is what I assume the CStr call is doing, but you could verify this by eliminating CStr and just assigning to a double).
HTH, - Joe -- Joseph J. Strout [EMAIL PROTECTED] _______________________________________________ Unsubscribe or switch delivery mode: <http://www.realsoftware.com/support/listmanager/> Search the archives of this list here: <http://support.realsoftware.com/listarchives/lists.html>
