View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Tatumsa Tatumsa is offline
external usenet poster
 
Posts: 2
Default Creating and evaluation user created forumlae.

I have a userform with a list of variables and operators which a user
can press to create a custom formula. The variable text entered by
clicking the button is the same name as that used in the code behind
the scenes. So a user would be able to create a text string looking
like "Field1 * Field2 - (Field3 + Field4)" etc.. Is there a way to
actually calculate a value from the string the userform returns? So for
the above example if all values were 10 you would get the number 80.
All the users are using Excel 2000.