Dang, i thought i had this first try, in like 10 lines of code. heres my project.

http://s5.yousendit.com/d.aspx?id=2Q...H2VTHQB5RWJEQ2

The problem is on this line of code, z = x & y & Val(Calc.Caption)

It seems vb wont evaluate it. Any ideas?