Hi all,
I am trying to created a UDF for a complicated (to me) calculation.
In the function I have
Function CalcFee(TxAmount As Currency) As Currency
Dim iFeeType As Integer
'FeeType indicates whether a set value £200 or a %
iFeeType = WorksheetFunction.VLookup(TxAmount...