Hi,
I need to create a custom VBA function to perform an operation similar to VLOOKUP.
I want to perform a search operation like VLOOKUP. But the only difference is, I need to retrieve the formula in the target cell instead of retrieving value in the cell, and I don't want to print the retrieved formula in the cell (like FORMULATEXT function), instead I want to paste it like 'paste special -> Formulas'.
Is this possible?
Or apart from creating UDF, is there any other way to do this?
I need to create a custom VBA function to perform an operation similar to VLOOKUP.
I want to perform a search operation like VLOOKUP. But the only difference is, I need to retrieve the formula in the target cell instead of retrieving value in the cell, and I don't want to print the retrieved formula in the cell (like FORMULATEXT function), instead I want to paste it like 'paste special -> Formulas'.
Is this possible?
Or apart from creating UDF, is there any other way to do this?