Re: $$Excel-Macros$$ VBA parse an algebraic expression

2015-06-19 Thread Ganesh N
Hi, Please find the attached file. If you have any concern let me know. Regards, Ganesh N On Thu, Jun 18, 2015 at 8:41 PM, Naftali Herscovici < tuli.herscov...@gmail.com> wrote: > Hello, > > I need to evaluate an algebraic expression. > > Example - start > > dim a,b,c as string > dim x as str

$$Excel-Macros$$ VBA parse an algebraic expression

2015-06-18 Thread Naftali Herscovici
Hello, I need to evaluate an algebraic expression. Example - start dim a,b,c as string dim x as string a="5cm" b="4cm" x="a+b*sin(30deg)" need to get c="7cm" Example - end i.e need to recognize a, b, the trigonometric function, addition operation and perform the addition I know Mathemati