MyFormula = Mid$(ActiveCell.Formula, 2)
- Jon
-------
Jon Peltier, Microsoft Excel MVP
Tutorials and Custom Solutions
Peltier Technical Services, Inc. -
http://PeltierTech.com
_______
"StephanieH" wrote in message
...
I have the following formula in my cell
=AVERAGE(OFFSET(C15,-3,0,-12,1))
I want to set a variable as the formula, such as
MyFormula = ActiveCell.Formula
How can I get rid of the "=" sign at the beginning? I basically need to
add
a condition to the beginning and end of the formula and don't want the "="
inserted in the middle.