How do I refer to a 'formula' instead of the result of that formu
Hi,
I don't know if there is an existing Excel worksheet function to do this,
but the following VBA will;
Public Function ReturnFormula(Target As Range) As String
ReturnFormula = Target.Cells(1, 1).Formula
End Function
Regards,
Chris.
--
Chris Marlow
MCSD.NET, Microsoft Office XP Master
"MES" wrote:
I am trying to use a cell reference in one worksheet to a formula in another
worksheet, and want to use the formula itself instead of the result of that
formula, can anyone advise me how to do this?
|