If r.Value > 0 Then r.Value = r.Value - (r.Value * Len(Right(UserForm6.TextBox1.Value) - 1))
in the above code Im trying to remove the % in the the textbox to get the proper result. Getting the error argument not optional and the right is highlighted.
in the above code Im trying to remove the % in the the textbox to get the proper result. Getting the error argument not optional and the right is highlighted.