i am using a userform to try and enter a function like (x^2-1) into a text box. I am trying to get my vba program to recognize this as a function so that i can evaluate the function at a specific value that is also entered in a text box in the UserForm. I am kind of new to VBA so any help would be appreciated.