Careful, guys! Alex is on the right track. The Val function stops at the first non-numeric character (after stripping out all spaces). For example, Val("12,345.67") will evaluate to 12. Not desirable! Val only recognizes the "." as a decimal separator, so it WILL accept "13.3" (i.e., it will convert it properly).

[Edited by BruceG on 06-06-2000 at 02:34 PM]