Re: Help with function/cond. formatting

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



Bob

The function I posted works for me. Why the Evaluate added in your version?

Function EvalCell(RefCell As String)
'Application.Volatile
EvalCell = (RefCell)
End Function

D3 contains (6+3+3)/4

=EvalCell(D3) returns 3


Gord


On Wed, 21 Dec 2005 19:10:06 -0000, "Bob Phillips"
<bob.phillips@xxxxxxxxxxxxxxxxxxxx> wrote:

>Use
>
>Function EvalCell(RefCell As Range)
>EvalCell = Evaluate(RefCell.Value)
>End Function
.



Relevant Pages