Windows XP VBA string as formula

Joined
Nov 29, 2008
Messages
1
Reaction score
0
I have the following String: "=2+4"
and i want the value 6 as a variant or integer
Is there any function that i could use?
What about the string "= AD2+2"
I don'e want to write it in excel, because i am creating a user defined function and if i modify any value of the worksheet i get the Value error.

Can any one please help me.

Thanks in advance

pcmp
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top