I need your expert advice to provide a VBA script that automatically displays used formula in excel. For example
The cell D4 should display the formula used in B4 with the Parameter names used in column A.
The script below in VBA provides the formula with cell value! But I need with reference to Parameter name mentioned in column A.
Function GetFormula(Cell As Range) As String
GetFormula = Cell.Formula
End Function