That means that Val(TextBox2.Value) is returning 0.