Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Is there anyway to write a function that takes as input a string containing
a formula and then somehow executes it and returns the value? MyExecuteFunction("sum(a2:c5)") I basically want the user to write out a normal worksheet formula and then I need to parse this formula, make some changes and return back the value. Is there anyway to do this? |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi
application.evaluate e.g msgbox application.evaluate("=SUM(A2:C5)") -- Regards Frank Kabel Frankfurt, Germany J S wrote: Is there anyway to write a function that takes as input a string containing a formula and then somehow executes it and returns the value? MyExecuteFunction("sum(a2:c5)") I basically want the user to write out a normal worksheet formula and then I need to parse this formula, make some changes and return back the value. Is there anyway to do this? |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How can I stop a formula from executing based on a cell value? | New Users to Excel | |||
EXECUTING A FORMULA | New Users to Excel | |||
Executing a formula based on criteria being met | Excel Worksheet Functions | |||
Worksheet_Change Still Not Executing.... | Excel Programming | |||
Code not executing | Excel Programming |